Converter for TEC data from Madrigal Database - #1658
Conversation
jhaiduce
left a comment
There was a problem hiding this comment.
I haven't been able to get this to run (not your fault, it depends on ioda and I haven't figured out how to build and install ioda). But I do have a few comments based on reading through the code.
- Until one looks at the code in detail it isn't clear whether this is meant for processing vertical TEC or the slant/line-of-sight TEC files. Both are available from Madrigal and the files for each are structured differently, so I'd suggest you specify which you one this script is meant for in the filename, the description string passed to ArgumentParser, and perhaps one or two other places (e.g. comments and/or function names).
- I noticed there's nothing in the CMakeLists.txt that references this file, but I also see that not all the existing scripts in the gnssro directory are referenced in CMakeLists.txt so maybe it's fine that this one isn't either.
|
|
||
|
|
||
| def main(args): | ||
| RO_files = args.input |
There was a problem hiding this comment.
What do the letters RO refer to here? If it's meant to be radio occultation, that's something of a misnomer for ground-based GNSS data (usually occultation refers to data collected from a spacecraft). This applies to the variable name RO_files, the directory name gnssro, and the metadata field 'satelliteConstellationRO'.
There was a problem hiding this comment.
The directory structure has been updated to better reflect the data type. There are also now separate converters for space-based and ground-based TEC files from Madrigal
There was a problem hiding this comment.
Looking at this again, I'd suggest also changing the variable name RO_files, though that's less consequential than the things you already changed.
| # Get command line arguments | ||
| parser = argparse.ArgumentParser( | ||
| description=( | ||
| 'Reads the GNSS TEC data from netCDF file' |
There was a problem hiding this comment.
I believe the description here should refer to HDF5 rather than NetCDF.
|
I will add to the comments made above (wrt to nothing in the CMake) ... it would be nice to add an sample dataset and place some c-test that illustrates the conversion of TEC. |
…-internal/ioda-converters into feature/madrigal_converter
|
there's a failure in the CI: would re-trigger |
|
Is there any input file that could be used to test the decoders? The Python scripts are not installed (copied) in the |
The files at |
Regarding the install, I don't know how to set that up. If that's something we need to do, I can find out how |
…aconv/src/space_weather/ionosonde_ascii2ioda.py
…aconv/src/space_weather/gnss_tec_ground_based.py
|
I modified the CMakeLists.txt to install the converters. I tested with the following commands: In batch mode (needed memory): |
Description
Add a converter for TEC data from the Madrigal database
Issue(s) addressed
Resolves #1657
Dependencies
none
Impact
none
Checklist