-
Notifications
You must be signed in to change notification settings - Fork 34
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
P2G fails to produce VIIRS AWIPS AOD EDR files #697
Comments
Oh! Sorry for taking so long to address this. I thought this was a lower-level issue related to reading the file, but completely missed the "AWIPS" specific part of this issue. While this error is unfortunate I think it stems from the AOD product not being configured in the AWIPS tiled writer OR it could also be related to missing or misconfigured metadata coming from the files. Based on the error happening in the "valid_range" portion of the writer (based on the traceback of the error) I'm guess |
We may need to talk to GINA (CC @spruceboy, does Carl have a github account?) about if/what they might want in the Satpy AWIPS writer configuration file for the AOD (or other) products. Or since they already customize a lot of their stuff maybe we just leave it unconfigured. Regardless I'll try to fix this error being produced. |
@cfdierking is Carl's github account, but he doesn't really do github much. Let me point him to this and see if he will chim in. |
Related Satpy PR: pytroll/satpy#2833 Basically the reader was loading the NetCDF variable attribute |
Dave... I've read the comments so far. Is there anything I should weigh in on? |
Honestly, not sure. The biggest thing is that I could configure, in Satpy, an entry for VIIRS AOD in the AWIPS tiled writer. That would make it so GINA (theoretically) wouldn't have to modify your custom AWIPS config to use that product as we talked about in our email thread. But I think it is almost less work for you guys to do it in your own config the more I think about it. |
So would we still be using p2g 3.1 (beta) but with our own AWIPS configs? |
Yes. |
Or rather, whatever you're doing now. |
This should be fixed because this Satpy PR was merged: After @kathys verifies we can close this. |
Thanks @djhoese !! |
Kathy has had this working for a while. We just forgot to come back and comment. This should be working. I don't know off the top of my head what specific beta version includes this fix, but the one that was just sent to Carl includes it for sure. |
Just tried to produce AWIPS tiles from the VIIRS AOD EDR product files for the first time and the software failed.
polar2grid.sh -r viirs_edr -w awips_tiled -p AOD550 -g lcc_conus_300 --sector-id LCC --letters --compress -f ../edr/JRR-AOD*.nc
........
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
I was able to create a really nice GeoTIFF from this input data set.
Log files is here:
bumi:/data/users/kathys/test_data/viirs_edr/j01/awips
The text was updated successfully, but these errors were encountered: