jswhit / gfstonc

convert gfs spectral, sfc and nemsio files to netcdf format
4 stars 3 forks source link

gfstonc

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).

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.