-
Notifications
You must be signed in to change notification settings - Fork 20
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
ferret 7.6 won't handle 5d data #1988
Comments
Is this problem fixed? I have a similar problem. I have a WRF output that works fine with the older version of Ferret but doesn't work with the recent release. It is perhaps due to changes made on Jan. 7, 2020 (#1962). It seems that the problem is due to having variables with mixed dimensions and order. I guess an option to avoid the default behavior of Ferret (by avoiding the error check) and allowing the user to use i/j/k/l/m... would be desirable. Here is the header for the original file: When I remove the problematic variables using ncks: Then I will be able to use Ferret. |
Grid definition is not explicitly defined by the CF standard, and so pyferret works through the variables, trying to determine the direction of the dimensions. For a file like this, the dimensions do not have associated coordinate variables, and so an attempt is made to use dimension names. More description of this process is here, https://www.pmel.noaa.gov/maillists/tmap/ferret_users/fu_2019/msg01013.html I think that if you rename the dimensions in your files using ncks and the list above, you should be able to open the dataset. If you are running PyFerret v7.63 then all of the above names should indicate a direction, so you could use X for "west_east" and I for "west_east_stag"; Z for "bottom_top", and perhaps layer for "soil_layers_stag", and so forth. |
This seems to be related to recent changes #1962.
We have a large data file with
When we load it into ferret, we get,
and the file won't work. If we remove the three 5d variables (these are the only 5d variables in the file) with
ncks -x -v Tinz_d,Sinz_d,Tsnz_d hilat_GJRA55v1.4_TL319_t071_onyx_NR_gl.cice.h.2019-08-10.nc test.nc
then everything works fine in ferret on the new file. Did recent changes in ferret to "stop" with inconsistent grids lead to loss of some capability of higher dimension variables? We are using "FERRET v7.6 (optimized) Linux 4.12.14-197.51-default 64-bit - 07/08/21". The original file with 5d variables works fine with ferret "FERRET v7.5 (optimized) Linux 4.12.14-150.17-default 64-bit - 07/11/19".
One other thing I can report. If I extract the three 5d variables from the file alone, then ferret seems to work fine,
So it may be more complicated than just those variables alone. It may be how other variables are also defined in the same file and the ordering of the axis in them. Any ideas?
I'm happy to provide the file or the full ncdump of it if that's helpful. The file is 19 Gb.
The text was updated successfully, but these errors were encountered: