mode - ERROR: Trouble reading observation file #1135
-
Tested the file with plot_data_plane and was able to get a good postscript output. Tried using mode to read that file as both forecast and obs and got the following error:
sample of forecast and ob configuration:
Any help is greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hello, and thank you for your question. I was able to download your files (thank you for utilizing our ftp server for that data transfer!) and confirmed the behavior you described. When you created the plot_data_plane output, does the resulting image look correct? My concern is that while the I'll defer to @JohnHalleyGotway on this issue and the potential solution of not being able to read in this file. |
Beta Was this translation helpful? Give feedback.
-
It actually does! Looks just fine. Since you have access to the file now, I think we could probably implement any changes to make it netCDF-CF compliant. Just point out what needs to be fixed and I'm sure we can handle it over here. If I can stay away from generating another python reader that'd be best. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hello again, I had some time to reexamine the configuration file you sent over and realized I had overlooked the solution: in your configuration file, you've misplaced the
...and so on. You'll also need to adjust the I did check your file to see if there were any outstanding CF compliance issues, and beyond the suggestion of adding a Conventions metadata section, your file is compliant. Let me know if there's any other outstanding issues on this problem or if your issue is solved with the above steps! |
Beta Was this translation helpful? Give feedback.
Hello again,
I had some time to reexamine the configuration file you sent over and realized I had overlooked the solution: in your configuration file, you've misplaced the
file_type
parameter. It should be outside of thefield
entry, but inside theforecast
dictionary. So similar to this:...and so on. You'll also need to adjust the
desc
parameter, since whitespace isn't allowed. After these changes, your script should run as expected.I did check your file to see if there were any outstanding CF compliance issues, and beyond the suggestion of adding a Conventions metadata section, your fil…