-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add ctest for ground-based gnss ipw product #1539
Conversation
@ibanos90 added this to see if it properly passes regression testing the input file, and resulting output file are too large.. @gthompsnJCSDA may be able to help edit the input BUFR to trim it down to well under a MegaByte for this file at current resolution got a
|
test/testinput/bufr_gpsipw.yaml
Outdated
@@ -0,0 +1,82 @@ | |||
# (C) Copyright 2022 NOAA/NWS/NCEP/EMC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# (C) Copyright 2022 NOAA/NWS/NCEP/EMC | |
# (C) Copyright 2024 NOAA/NWS/NCEP/EMC |
test/testinput/bufr_gpsipw.yaml
Outdated
|
||
- name: "MetaData/stationName" | ||
source: variables/stationName | ||
longName: "Station Name" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not see "stationName" in the IODA data conventions. How about changing "stationName" to "stationIdentification"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @emilyhcliu appreciate the extra set of eyes.
and as Emily notes there the online document and this too:
https://github.com/JCSDA-internal/ioda/blob/develop/share/ioda/yaml/validation/ObsSpace.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @emilyhcliu and @BenjaminRuston for letting me help with this. Please proceed with changing"stationName" to "stationIdentification".
One additional change I think didn't get included -
for "heightOfStation", the query value should be "/SELV" instead of "/GNSSRPSQ/ELEV".
@ibanos90 is the variable that should be a float but is reported as an integer the Observation value itself: will pick this up and try to drag across the finish line |
The variable we discussed about is /ObsValue/precipitableWater. I have some decoded bufr messages here: /glade/derecho/scratch/mrislam/work/singv_ng_mpas/data/gpsipw in case you have time to take a look at them. Decoded bufr messages have floating point values for precipitableWater but in the converted NetCDF file, it becomes integer and we have no idea why. |
|
||
globals: | ||
- name: "platformCommonName" | ||
type: string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mrixlam ,,, hearing from @gthompsnJCSDA that adding a line like the but type: float
to the precipitableWater should force float
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @BenjaminRuston we previously tried "type: float" for the variables section but it didnt work. But you are right. When I removed "type: float" from the variables section to the exports section, it works. The converted file now have float values for precipitableWater.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused @mrixlam I just tried this with and w/o the type: float
when I added it, I got floats it worked correctly:
range(/ObsValue/precipitableWater): [2.299999952316284, 72.0999984741211]
when removed it output the integer values:
range(/ObsValue/precipitableWater): [2, 72]
so going to add it in... please confirm
test/testinput/bufr_gpsipw.yaml
Outdated
query: "*/STSN" | ||
|
||
heightOfStation: | ||
query: "*/GNSSRPSQ/ELEV" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
query for heightOfStation should be changed to "*/SELV"
test/testinput/bufr_gpsipw.yaml
Outdated
query: "*/STSN" | ||
|
||
heightOfStation: | ||
query: "*/GNSSRPSQ/ELEV" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
query: "*/GNSSRPSQ/ELEV" | |
query: "*/GNSSRPSQ/SELV" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or this?
query: "*/GNSSRPSQ/ELEV" | |
query: "*/SELV" |
test/testinput/bufr_gpsipw.yaml
Outdated
- name: "ObsValue/precipitableWater" | ||
source: variables/precipitableWater | ||
longName: "GPS IPW" | ||
units: "KG/(METER**2)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mrixlam this is consistent with the way units are presented in our verification yaml
https://github.com/JCSDA-internal/ioda/blob/ad84060522f6fa7ab9c75d227f1d9e72c8bf7a28/share/ioda/yaml/validation/ObsSpace.yaml#L570
units: "KG/(METER**2)" | |
units: "kg m-2" |
i've updated to use stationIdentification thanks Emily
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Current version looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thanks so much @BenjaminRuston!
add a ctest for the ground-based gnss integrated precipitable water (IPW) product
Description
add a ctest for an NCEP BUFR file for IPW from ground-based GNSS
Issue(s) addressed
Resolves #<issue_number>
Impact
Potential to add IPW product to assimilation
Checklist