PIK-LPJmL / LandInG

The Land Input Generator (LandInG) contains a collection of scripts to derive basic input datasets for terrestrial ecosystem models from diverse and partially conflicting data sources.
https://doi.org/10.5194/gmd-16-3375-2023
GNU Affero General Public License v3.0
7 stars 1 forks source link

Error Processing HYDE Data in Landuse Module #1

Closed KaixuanDai closed 2 months ago

KaixuanDai commented 7 months ago

Hi, I am trying to process the HYDE data in the landuse module. When running the script step2_hyde_convert.sh, I encountered the following error:


cdo setreftime: Open failed on >ncdf_tmp/1500AD_lu/conv_rangeland_1500.nc4<
Unsupported file type (library support not compiled in)

To resolve this issue, I recompiled and reinstalled the CDO program using the following configuration:

./configure --enable-netcdf4 --enable-szlib --enable-hdf5 --with-netcdf=/usr/lib/x86_64-linux-gnu --with-hdf5=/usr/lib/x86_64-linux-gnu/hdf5/serial/ --with-szlib=/usr/lib/x86_64-linux-gnu

However, after reinstallation, the options nc4 and -z zip are reported as invalid. I suspect this is due to compatibility issues between the cdo-1.9 version and the libnetcdf version.

Could you please provide some information about the compatibility between different versions of CDO and libnetcdf?

sostberg commented 5 months ago

We cannot provide system-specific information on compatibility between CDO and libnetcdf since this depends on the versions installed in your system. The format "nc4c" should be supported by current versions of CDO. zip compression may require external libraries linked to the NetCDf library. If you're experiencing problems here you could try to remove the -z zip flag, which will lead to uncompressed intermediate results (larger files).

sostberg commented 2 months ago

Closing since this is not directly related to LandInG.