-
Notifications
You must be signed in to change notification settings - Fork 13
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
Cannot find variable (z) data in netcdf #287
Comments
I agree that maybe we need a better way to deal with the data variable name. See the relevant code below. Lines 203 to 206 in da56af8
|
also maybe consider multiple data variables I remember I saw a netcdf file in which the data was a multiple dimension array. Need to look into the netcdf file format deeper. |
This is an important issue. We need to provide a proper solution. But I have no time right now. Maybe @Hojat-Shirmard can have a look next week? |
I’d be happy if could help you with that. I’m heading to Hobart for a conference this Sunday and will be back on Monday, October 21. |
Sure. no rush, no pressure. any time that is convenient for you. safe trip. |
The latest master branch should work now. See the test notebook below. https://gist.github.com/michaelchin/ef0ec6184c8195065c130050a2075c2c |
GPlately seems to only read netcdfs that has its data variable called
z
.E.g. I have this netcdf:
And when importing into gplately, I get:
If I then rename the variable
topo
toz
, it all works fine:Is there a way we can GPlately read netcdfs that do not always have 'z' as variable names?
The text was updated successfully, but these errors were encountered: