python utilities and modules to read NCEP gfs spectral, surface and nemsio files and convert to netcdf.
numpy, netcdf4-python and gfortran are required, plus the shtns spherical harmonic transform library (including the python interface).
- set the env vars
SHTNS_LIBDIRandFFTW3_LIBDIRto point to where theshtnsandfftw3libraries are installed. fftw3 is required by shtns. python setup.py build- setup.py will try to build
src/libw3nco_d.aandsrc/libbacio_4.aif they do not already exist.
- setup.py will try to build
python setup.py install(orpython setup.py install --userto install in your home directory).
Will not work on Windows!
utils/gfs_spectonc converts gfs binary spectral files to netcdf (assumes the binary spectral data is big endian).
utils/gfs_sfctonc converts gfs binary surface files to netcdf (assumes the binary surface data is big endian).
utils/gfs_nemsiotonc_3d converts gfs 3d nemsio files to netcdf.
utils/gfs_nemsiotonc_2d converts gfs 2d nemsio files to netcdf.
Watch where setup.py installs the utility scripts, you will need to add that location to your $PATH.