AetherModel / Aether

This is the home of the Aether model of the thermosphere and ionosphere
GNU General Public License v3.0
19 stars 29 forks source link

Satellite tracking #119

Closed oscarhua closed 1 year ago

oscarhua commented 1 year ago

Description

Addresses #108

The program can read satellite files, log file names and time frequency in aether.json, and output the location of satellite and specified variables based on the input.

Type of change

How Has This Been Tested?

Go to Aether/tests/satellite/ and run ./run_test.sh

Test configuration

Checklist:

aaronjridley commented 1 year ago

I don't think that you have to open the files on every processor. I think that you can:

  1. In the first iteration, the processor 0 can open the file and write out the header.
  2. Close the file.
  3. Then, which every processor has the satellite on it, it opens the log file in append mode, writes the line of data, and closes the file.

Then you don't have to have a combine python code at the end. Does this make sense, or am I not thinking about this the right way?

Also, we should test to see if this works with ensembles - we probably have to add the ensemble number if this wasn't added.

oscarhua commented 1 year ago

The issue is fixed.