Closed weiwilliam closed 6 months ago
Geometry variables are not converted, I will add it in later commits.
Hi @BenjaminRuston @jeromebarre @PatNichols, I think this PR is ready for review.
@PatNichols please check conventions
@weiwilliam the coding norms test is failing 1/336 Test #1: iodaconv_compo_coding_norms .....................................................***Failed 0.62 sec
@weiwilliam the coding norms test is failing 1/336 Test #1: iodaconv_compo_coding_norms .....................................................***Failed 0.62 sec
Let me check, I did use the pycodestyle to see whether it is good. There are whitespaces on those lines I just added.
@weiwilliam is there a ctest for you code? I am not seeing it...
@BenjaminRuston @gthompsnJCSDA This is resuls for the ioda_validate on the output file:
[[0m[[1m[[34m Warning: Attribute 'Location' is present but is not listed as a required or optional attribute in the spec. [[0m[[1m[[34m Warning: Attribute 'Channel' is present but is not listed as a required or optional attribute in the spec. [[0m[[1m[[34m Warning: Attribute 'Location' does not have a YAML spec. [[0m[[1m[[34m Warning: Attribute 'Channel' does not have a YAML spec.
@weiwilliam is there a ctest for you code? I am not seeing it...
Oh yeah, I forgot this. I keep thinking of tests in ufo is not there yet and forgot in here. Let me work on it.
@weiwilliam Do you want my assistance with this python script? I can see some things to change.
@weiwilliam Do you want my assistance with this python script? I can see some things to change.
@gthompsnJCSDA Thank you, can you point me to changes you would like to have? Then I can learn more from it.
Thank you, @gthompsnJCSDA! I'm testing the multiple inputs and I'll add the ctest stuff when we have decision on the folder arrangement.
The coding norms are still failing:
Start 1: iodaconv_compo_coding_norms -- 1620 | 1/336 Test #1: iodaconv_compo_coding_norms .....................................................***Failed 0.62 sec
Run the test like so:
ctest -VV -R iodaconv_compo_coding_norms
and look at the lines where it complains. Thanks!
@jeromebarre Yeah, I fixed the coding norms but have not pushed back yet. I'm adding the code to skip the nighttime files.
Checks are passed.
Here is the last warning from ioda-validate.x
Warning: Attribute 'description' is present but is not listed as a required or optional attribute in the spec.
@gthompsnJCSDA told me he would like to add the 'description' attribute to IODA convention.
@jeromebarre Perhaps we should move ahead with this converter in the compo
directory for now and change up the directory structure in some way at a future time. While it isn't ideal to have a vis satellite image converter specifically within compo
folder, the alternate of creating a VIIRS
folder then makes it odd to find the previous composition-type data for VIIRS in compo instead of VIIRS. What do you think about "kicking the can down the road" and dealing with re-organization later.
Description
This PR adds the converter of NASA's VIIRS L1b data. It combines the two inputs of observation and geolocation. Observation data (VJ102MOD): https://ladsweb.modaps.eosdis.nasa.gov/missions-and-measurements/products/VJ102MOD Geolocation data (VJ103MOD): https://ladsweb.modaps.eosdis.nasa.gov/missions-and-measurements/products/VJ103MOD NASA's VIIRS L1b User Guide is here.
The converter has passed the coding norm test. The test of ioda-validate.x returns no error with the testoutput.
Dependencies
No dependencies
Impact
No impacts
Checklist