Code examples
Examples OPeNDAP
OPeNDAP allows you to access remote data over the internet using your familiar data analysis and visualization package (Ferret, Matlab, IDL, GrADS, NCO, Python ...) without worrying about data storage formats. You can access only the data subset of interest without having to download large amounts of data. Here we show the usage of OPeNDAP in Ferret, Matlab und Python:
Examples NetCDF4
The new version 4 of netCDF files is getting more common and will replace the netCDF3 format in the future. The following code examples show how to open netCDF4 files in Ferret, Matlab and Python:
To use the data in our CEN network with Python, you have to set the environment variable
HDF5_USE_FILE_LOCKING to FALSE (export HDF5_USE_FILE_LOCKING=FALSE)