Closed adammartins closed 1 year ago
Thanks for adding these. They look good to me but could you please add some unit tests to check they behave as expected?
These are some instructions I put on Lee's surface PR for the CX generation. You can do similar things for the varobs.
(1) Edit opsinputs/test/generate_unittest_netcdfs.py. Near the bottom, there are calls to the routine output_full_cx_to_netcdf for different data types. You can add an entry for Aircraft there and tailor it to use the correct CX columns.
(2) Create a new file called opsinputs/test/testinput/cxwriter_globalnamelist_aircraft.yaml (probably easiest to copy from an existing one). Again, modify it to test the correct CX columns.
@adammartins the code changes look good. Could you update to develop and resolve conflicts and then I'm happy to approve and merge.
Add aircraft cx and varobs namelist for use with sith.