Skip to content
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

e3sm-unified no longer supports high res analysis (cdf5 not supported) #42

Closed
vanroekel opened this issue Feb 26, 2019 · 3 comments
Closed

Comments

@vanroekel
Copy link

I just went back to running mpas-analysis on the high res coupled output on theta. using the latest e3sm-unified I get the following error

Traceback (most recent call last):
  File "./compute_transects.py", line 163, in <module>
    output=args.output_filename_pattern)
  File "./compute_transects.py", line 36, in compute_transport
    mesh = xr.open_dataset(mesh)
  File "/lus/theta-fs0/projects/ccsm/acme/tools/e3sm-unified/base/envs/e3sm_unified_1.2.2_py2.7_nox/lib/python2.7/site-packages/xarray/backends/api.py", line 320, in open_dataset
    **backend_kwargs)
  File "/lus/theta-fs0/projects/ccsm/acme/tools/e3sm-unified/base/envs/e3sm_unified_1.2.2_py2.7_nox/lib/python2.7/site-packages/xarray/backends/netCDF4_.py", line 332, in open 
    ds = opener()
  File "/lus/theta-fs0/projects/ccsm/acme/tools/e3sm-unified/base/envs/e3sm_unified_1.2.2_py2.7_nox/lib/python2.7/site-packages/xarray/backends/netCDF4_.py", line 231, in _open_netcdf4_group
    ds = nc4.Dataset(filename, mode=mode, **kwargs)
  File "netCDF4/_netCDF4.pyx", line 2126, in netCDF4._netCDF4.Dataset.__init__
  File "netCDF4/_netCDF4.pyx", line 1368, in netCDF4._netCDF4._get_format
ValueError: format not supported by python interface

It seems like libnetcdf in this version doesn't support cdf5. I went back in versions as I know I've used mpas-analysis with e3sm-unified on theta before and the last version cdf5 worked was v1.2.0

@xylar
Copy link
Contributor

xylar commented Feb 26, 2019

@vanroekel, this should have been fixed almost a year ago: conda-forge/libnetcdf-feedstock#42

You appear to be 2 versions behind in the version of e3sm-unified you're using. The latest e3sm-unified is 1.2.4 and it can be accessed by sourcing the script load_latest_e3sm_unified.sh, as I've detailed in two different emails to e3sm-all. The full path on cooley is:

/lus/theta-fs0/projects/ccsm/acme/tools/e3sm-unified/load_latest_e3sm_unified.sh

(Don't do analysis on theta or cooley login nodes -- they really don't like it!)

Modules are not supported by the latest conda (via an environment variable issue between proj4 and basemap) so that's why modules are no longer being updated.

@vanroekel
Copy link
Author

Definitely not using modules or working on the login node. I was using e3sm-unified 1.2.3. Given this, I actually just realized that my error file was being appended to by multiple jobs and the error I posted is indeed old. The reason my job was dying had nothing to do with e3sm-unified. It was a bad file path further down in the file. I've also updated to 1.2.4. Things seem fine now. Sorry for the false alarm.

@xylar
Copy link
Contributor

xylar commented Feb 26, 2019

So glad!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants