-
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
fixed the precision of TropOMI CO pressureVertice #1463
Conversation
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.
Thx!
src/compo/tropomi_no2_co_nc2ioda.py
Outdated
@@ -125,7 +125,7 @@ def _read(self): | |||
preslv = ncd.groups['PRODUCT'].groups['SUPPORT_DATA'].\ | |||
groups['DETAILED_RESULTS'].variables['pressure_levels'][:] | |||
preslv = np.reshape(preslv, (nlocs, nlevs)) | |||
top = np.zeros(nlocs) | |||
top = np.zeros(nlocs,dtype=np.float32) |
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.
iodaconv_compo_coding_norms is failing. leave a space after the comma.
coding norm
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 just committed the change for you, that should pass the test now
Thank you, @jeromebarre ! |
@weiwilliam You need to fix the coding norms failure. The CI doesn't show the failure unless you look deeper |
@weiwilliam The output file is not following the IODA conventions ( we are trying to clean these up at present). @jeromebarre @gthompsnJCSDA Could comment more about this. |
The ctests have all passed. For the conventions we will do this in another set of PR. We don't have resources for this in this quarter. This PR (Bugfix) is good to go. |
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.
This file needs to pass ioda_validate.x, It's somewhat bad that our current ctests do not catch these failures.
Got it, I see the error message is
|
This has been a while like this I think..... This is not the purpose of this PR which is again a bugfix for float type issue. We can work on this convention issues later. |
This should be in another PR, this PR is just a float32 type bugfix. Thanks |
This is embarrassing but the ctests using ioda_validate.x have been doing absolutely nothing for quite awhile. When someone adds a file we have to manually go look at the ctest output to see if it fails. There are currently ~100 files we will need to fix in a sprint so we want to keep from adding more to the pile. I know it sounds unfair but here we are. I will talk with the others and see what they think but I cannot promise anything. |
@weiwilliam @jeromebarre Here is the output of ioda_validate.x on the nc4 file errors: 4warnings: 8 |
As I recall, the ioda_validate.x application takes command line options that tell it whether to ignore warnings and/or errors. If ioda_validate.x has the options that tell it to ignore warnigns and errors, then you get the reporting but a zero is returned and the test passes no matter what. If ioda_validate.x is told to not ignore warnings for example, if warnings do occur then a non-zero return code is issued (and the test should fail). Warnings and errors are treated as separate categories, so you can for example ignore warnings and not ignore errors. I suspect the test may be using the option settings that cause ioda_validate.x to ignore both and always return zero. |
@srherbener Yes, you are correct, both arguments on. ioda-converters/test/CMakeLists.txt Lines 2283 to 2298 in 0f7b1a7
|
@srherbener This happend during the Data Conventions sprint. There are about 100 files in ioda-converters and a few hundread in ufo-data that needed to be changed to pass. It was thought to be too much of a task at the time and hence we went into technical debt. Recently we noticed quite a bit of new files that were wrong and now we are trying to keep the problem from getting worse until we can fix it all in a sprint and turn off the --ignore-errors at least. |
While I understand the concerns, I will repeat myself until people read me here... conventions is not the point of this PR. I have created this issue to make sure we track this #1464 a lot needs to be updated across repos for this to be consistent. We don't have the resources for this in this quarter. |
Description
This PR fixes the precision of pressureVertice for TropOMI CO data.
Issue(s) addressed
Resolves #1462
Dependencies
List the other PRs that this PR is dependent on:
Impact
Expected impact on downstream repositories:
Checklist