# Julia and the satellite Amazonia-1

**URL:** <https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541>\
**Category:** Community\
**Tags:** space\
**Created:** [March 19, 2021, 2:18pm UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541 "2021-03-19T14:18:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronis\_BR](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ronis_br/32/50999_2.png) [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Post date:** [March 19, 2021, 2:18pm UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/1 "2021-03-19T14:18:13Z")

</div>

Hi guys!

Long time, no see!

As some of you may know, I am the mission architect and the technical responsible for the attitude and orbit control subsystem (AOCS) of the Brazilian satellite Amazonia-1, launched on Feb 28. This is an image obtained by the first recording procedure:

 ![Fig.1_AMZ1_WFI_20210303_SaoPaulo](https://global.discourse-cdn.com/julialang/original/3X/b/1/b177487c08d54c02a8558b5f909c0e0b5b4dbe42.jpeg)

Here you can see the big city of São Paulo (on the left), São José dos Campos where INPE is located (“small” city on the top right), and the beautiful Brazilian shore, showing Santos, Guarujá, Bertioga, São Sebastião, and Ilhabela (the small island on the right).

OK Ronan, but this is a Julia forum, do you know?!

I just want to share with you guys a very successful usage of Julia. Since 2013, when I got involved with the project, I started to use Julia to do all the kind of analysis. The first version of [SatelliteToolbox.jl](https://github.com/JuliaSpace/SatelliteToolbox.jl/commit/94be3f2515fbba2d9b58e2850bdd493af8fdcc2d) dates back to 2014, during v0.3.0 days. In this package, I added a lot of functions related to satellite and orbit analysis, which was eventually used in the Amazonia-1 project.

I used Julia in the following tasks:

- General mission analysis such as fuel budget computation, orbit planning, ground station visibility analysis, etc.
- The Amazonia-1 AOCS simulator is 100% written in Julia using the amazing DifferentialEquations.jl ecosystem. The results obtained from it greatly match the real satellite dynamics obtained after the orbit injection.
- The AOCS telemetry analysis system is also 100% written in Julia. The problem with AOCS is that you often need to get a lot of data from the satellite telemetry and plot many graphics. During the integration and testing, I needed to do this daily. Hence, we developed inside INPE a Julia package that automatically fetches the raw telemetry from the database, process, and output what we want. Today I can very easily see the overall satellite AOCS state with just two or three commands.
- The in-orbit sensor calibration required the implementation of Kalman filters, which, of course, was coded in Julia.

We can now say that Julia is truly a part of the Brazilian space program 🙂

Finally, I want to thanks all you developers that created Julia and the fantastic package ecosystem. It really made a lot of difference to me! I am 100% sure that I would have a lot more work if I had to use another computing language.

---

<div class="post-metadata">

**Author:** ![Paulo\_Jabardo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paulo_jabardo/32/3196_2.png) [@Paulo\_Jabardo](https://discourse.julialang.org/u/Paulo_Jabardo)\
**Post date:** [March 19, 2021, 2:48pm UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/2 "2021-03-19T14:48:38Z")

</div>

Congratulations! Very nice work!

---

<div class="post-metadata">

**Author:** ![Arrigo\_Benedetti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/arrigo_benedetti/32/25545_2.png) [@Arrigo\_Benedetti](https://discourse.julialang.org/u/Arrigo_Benedetti)\
**Post date:** [March 19, 2021, 2:52pm UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/3 "2021-03-19T14:52:14Z")

</div>

This is extremely interesting! @Ronis_BR , do you know any Julia package for multi-spectral image registration?

---

<div class="post-metadata">

**Author:** ![Ronis\_BR](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ronis_br/32/50999_2.png) [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Post date:** [March 19, 2021, 3:04pm UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/4 "2021-03-19T15:04:17Z")

</div>

Thanks! No, I do not know unfortunately ☹

---

<div class="post-metadata">

**Author:** ![JeffreySarnoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeffreysarnoff/32/1980_2.png) [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Post date:** [March 19, 2021, 3:06pm UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/5 "2021-03-19T15:06:21Z")

</div>

> 🚀 🛰 🔝

![image](https://global.discourse-cdn.com/julialang/original/3X/e/d/ed0d2fc7d8a06de010bbfa81dccf88fec43e2385.png)

---

<div class="post-metadata">

**Author:** ![jonniedie](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jonniedie/32/12842_2.png) [@jonniedie](https://discourse.julialang.org/u/jonniedie)\
**Post date:** [March 19, 2021, 3:07pm UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/6 "2021-03-19T15:07:37Z")

</div>

Awesome! Congrats!

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [March 19, 2021, 3:43pm UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/7 "2021-03-19T15:43:45Z")

</div>

> [@Arrigo\_Benedetti](#):
>
> do you know any Julia package for multi-spectral image registration?

GDAL, ArchGDAL  
I am also adding subsets of gdal functions from GDAL.jl and ArchGDAL to GMT.jl so probably one can do that already with GMT.

---

<div class="post-metadata">

**Author:** ![SamBrand](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@SamBrand](https://discourse.julialang.org/u/SamBrand)\
**Post date:** [March 19, 2021, 3:57pm UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/8 "2021-03-19T15:57:57Z")

</div>

This is awesome!

---

<div class="post-metadata">

**Author:** ![airpmb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/airpmb/32/7826_2.png) [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Post date:** [March 19, 2021, 4:50pm UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/9 "2021-03-19T16:50:36Z")

</div>

Fantastic, congratulations on the successful launch and early ops, and thanks for sharing your experience!

Are any of the tools you built (simulator, telemetry analysis) open-source or are planned to become so? I’ve had to reinvent the telemetry/simulation output analysis wheel a couple of times and I think there’s a potential for some good Julia based tooling. Probably not turn-key systems as I think are always fair unique requirements for each project but there seems to be a ton of underlying common functionality that could be implemented in Julia packages.

---

<div class="post-metadata">

**Author:** ![fausto-mpj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fausto-mpj/32/18966_2.png) [@fausto-mpj](https://discourse.julialang.org/u/fausto-mpj)\
**Post date:** [March 19, 2021, 5:13pm UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/10 "2021-03-19T17:13:38Z")

</div>

Um dos raros momentos em que dá orgulho de ser brasileiro! Obrigado por isso, @Ronis_BR

---

<div class="post-metadata">

**Author:** ![Ronis\_BR](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ronis_br/32/50999_2.png) [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Post date:** [March 19, 2021, 5:28pm UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/11 "2021-03-19T17:28:09Z")

</div>

> [@airpmb](#):
>
> Fantastic, congratulations on the successful launch and early ops, and thanks for sharing your experience!
> 
> Are any of the tools you built (simulator, telemetry analysis) open-source or are planned to become so? I’ve had to reinvent the telemetry/simulation output analysis wheel a couple of times and I think there’s a potential for some good Julia based tooling. Probably not turn-key systems as I think are always fair unique requirements for each project but there seems to be a ton of underlying common functionality that could be implemented in Julia packages.

Thanks! The AOCS simulator I cannot disclose because it models the internal AOCS dynamics. Hence, we have some NDA that prohibits us from sharing it. The same applies to the telemetry analysis tools.

However, let’s say that 85% of everything is inside the [ReferenceFrameRotations.jl](https://github.com/JuliaSpace/ReferenceFrameRotations.jl) and [SatelliteToolbox.jl](https://github.com/JuliaSpace/SatelliteToolbox.jl). The other bits are very specific to the Amazonia-1 itself.

We are also discussing (although COVID delayed it) to open-source a simulator of the mission operational concept. It is used in the Space Mission Integrated Design Center (CPRIME) at INPE. The GUI was coded in Qt/C++ but the simulation core is 100% Julia:

 ![Forplan](https://global.discourse-cdn.com/julialang/original/3X/e/5/e59846ff7eaf27725ccb8f0555b7c7e8600a32c0.jpeg)

> [@fausto-mpj](#):
>
> Um dos raros momentos em que dá orgulho de ser brasileiro! Obrigado por isso, @Ronis_BR

Muito obrigado!!

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [March 19, 2021, 6:20pm UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/12 "2021-03-19T18:20:31Z")

</div>

> [@Ronis\_BR](#):
>
> > [@fausto-mpj](#):
> >
> > Um dos raros momentos em que dá orgulho de ser brasileiro! Obrigado por isso, @Ronis_BR
> 
> Muito obrigado!!

Como _tuga_ congratulo-me também com este feito. É bom ouvir boas notícias vindas da vossa terra.

---

<div class="post-metadata">

**Author:** ![Paulo\_Jabardo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paulo_jabardo/32/3196_2.png) [@Paulo\_Jabardo](https://discourse.julialang.org/u/Paulo_Jabardo)\
**Post date:** [March 19, 2021, 7:01pm UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/13 "2021-03-19T19:01:01Z")

</div>

Uma das pouquíssimas boas notícias vindo daqui…  
One of the very few good news coming from here…

---

<div class="post-metadata">

**Author:** ![bilderbuchi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bilderbuchi/32/13562_2.png) [@bilderbuchi](https://discourse.julialang.org/u/bilderbuchi)\
**Post date:** [March 19, 2021, 7:24pm UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/14 "2021-03-19T19:24:14Z")

</div>

As someone who’s worked in spacecraft technology research/development until recently: hats off, great effort, thank you for sharing this!  
Minor remark on your GUI screenshot: is it not T&TC (Telemetry & TeleCommand) instead of TT&C? 😇

---

<div class="post-metadata">

**Author:** ![Ronis\_BR](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ronis_br/32/50999_2.png) [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Post date:** [March 19, 2021, 7:40pm UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/15 "2021-03-19T19:40:23Z")

</div>

Thanks!!

We use TT&C as an acronym for Telemetry, Tracking and Command.

---

<div class="post-metadata">

**Author:** ![crbinz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/crbinz/32/1919_2.png) [@crbinz](https://discourse.julialang.org/u/crbinz)\
**Post date:** [March 21, 2021, 12:08am UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/16 "2021-03-21T00:08:08Z")

</div>

Congratulations! That’s so exciting. I’m interested to hear about what is next for you, and the extent to which you’ll be able to reuse and extend your software for future missions.

Do you have any sort of publication planned, especially focused on lessons learned?

---

<div class="post-metadata">

**Author:** ![Ronis\_BR](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ronis_br/32/50999_2.png) [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Post date:** [March 21, 2021, 1:40pm UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/17 "2021-03-21T13:40:44Z")

</div>

> [@crbinz](#):
>
> Congratulations! That’s so exciting.

Thanks!

> [@crbinz](#):
>
> ’m interested to hear about what is next for you, and the extent to which you’ll be able to reuse and extend your software for future missions.

Yeah! Me too 🙂 Everything I coded was planned to be extensible, let’s see if I achieved my goal.

> [@crbinz](#):
>
> Do you have any sort of publication planned, especially focused on lessons learned?

I still need to discuss this with people at INPE. We are compiling the lessons learned for each area but I am not sure if anyone thought about a publication in a journal. I will proposed this idea 🙂

---

<div class="post-metadata">

**Author:** ![mihalybaci](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mihalybaci/32/13528_2.png) [@mihalybaci](https://discourse.julialang.org/u/mihalybaci)\
**Post date:** [March 22, 2021, 12:03pm UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/18 "2021-03-22T12:03:20Z")

</div>

Awesome! This is so cool! I already love using SatelliteToolbox, can’t wait to see what’s next!

---

<div class="post-metadata">

**Author:** ![s153283](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/s153283/32/23290_2.png) [@s153283](https://discourse.julialang.org/u/s153283)\
**Post date:** [March 25, 2021, 7:15am UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/19 "2021-03-25T07:15:15Z")

</div>

@Ronis_BR Super cool project. Have you considered using Julia to analyse the satellite images? It seems that Julia is really well suited for the advanced image analysis used in earth observations (EO) today.

Last year I made a student project with a friend implementing InSAR processing and SAR based flood mapping. I am very interested in following the use of Julia for EO image analysis.

---

<div class="post-metadata">

**Author:** ![Fabio\_Sodre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fabio_sodre/32/22064_2.png) [@Fabio\_Sodre](https://discourse.julialang.org/u/Fabio_Sodre)\
**Post date:** [March 25, 2021, 10:29am UTC](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541/20 "2021-03-25T10:29:01Z")

</div>

Parabéns, um excelente trabalho! @Ronis_BR 👏🏼👏🏼👏🏼

[Next page](https://discourse.julialang.org/t/julia-and-the-satellite-amazonia-1/57541.md?page=2)
