Replies: 2 comments
|
This is definitely a question of how best to import WRF data into Iris, which I don't really think is in xWRF's remit. But perhaps we can come up with a good solution nonetheless. What preprocessing is usually required to import WRF data into Iris? What happens if My experience with Iris has been that it expects very specific metadata and coordinates in the dataset. Xarray is more general. Perhaps this is something that needs to be improved upstream in Xarray's |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
What happened?
When using Xarray's to iris:
the following error is thrown: ValueError: [UT_SUCCESS] Failed to parse unit
A work around is to drop 'XTIME' and 'Times' from field_in. This allows to_iris to pick up on the cf-compliant 'Time'.
Minimal Complete Verifiable Example
Relevant log output
No response
Version
main
Which Python version are you using?
3.8
Anything else we need to know?
This isn't a direct bug so much as a way to use wrf data with the Xarray to_iris functionality.
All reactions