NOAA-EMC / RDASApp

Regional DAS
GNU Lesser General Public License v2.1
1 stars 13 forks source link

create bufr to ioda ctest #171

Open ShunLiu-NOAA opened 1 month ago

ShunLiu-NOAA commented 1 month ago

Beacuse we will be testing RDAS with RRFS (MPAS-JEDI) workflow, it is important to track the source of ioda data. ioda data should be converted from bufr or prepbufr files. ioda data used in RDAS test case should be consistent with bufr2ioda ctest.

SamuelDegelia-NOAA commented 2 weeks ago

I looked into how the iodaconv submodule performs its ctests for bufr2ioda.x. There is no section of the bufr2ioda yaml for adding any kind of test reference as there is for the JEDI yamls. Instead, there is a standalone script iodaconv_comp.sh that can be used to compare netcdf files for a given tolerance level (making use of the nccmp utility). So we can use that to implement a similar ctest for bufr2ioda.x in RDASApp.

ShunLiu-NOAA commented 2 weeks ago

@SamuelDegelia-NOAA Thank you for your research. @hu5970 @TingLei-daprediction @delippi and @guoqing-noaa any suggestion about bufr2ioda ctest? I think we can try @SamuelDegelia-NOAA's suggestion first.

delippi commented 2 weeks ago

Sounds like a good place to start.

guoqing-noaa commented 2 weeks ago

Sounds good to me.

SamuelDegelia-NOAA commented 2 weeks ago

I am working on testing this now. Will provide updates as I go.

SamuelDegelia-NOAA commented 2 weeks ago

Please see #207 for an example of using the iodaconv_comp.sh tool for adding a bufr2ioda ctest.