-
Notifications
You must be signed in to change notification settings - Fork 421
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
errors='ignore' for parse_cf? #1917
Comments
Actually, still doesn't work: |
I was able to recreate the issue. metpy may need to call
|
So it looks there are a few different issues going on here! 1) When I used this file downloaded from S3 rather than BytesIO reading, this example seems to fail with 2) A UDUNITS-valid expression failed our tweaked pint registry In this dataset, the variable Lines 35 to 39 in c7b0b9b
While that regex borders on "write-only code", I'll take a wild guess and hope the following modification may do the trick? r'(?<=[A-Za-z\)])(?![A-Za-z\)])(?<![0-9\-][eE])(?<![0-9\-])(?=[0-9\-])' (addition of xref #1362 3) The I wasn't able to replicate this using the local netcdf file and default netcdf engine, so I think this may be something weird with the h5netcdf engine. Due to time constraints, I'll let someone else chime in on that one. |
If I do this, it crashes, but if I do this, it works:
The text was updated successfully, but these errors were encountered: