jswhit / gfstonc

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

Issue with using gfs_nemsiotonc #5

Open zxh163404 opened 5 years ago

zxh163404 commented 5 years ago

Hi: I really appreciate it that you made this python package. After installation, I tried to use utils/gfs_nemsiotonc to convert the gfs ensemble data (nemsio) to netcdf data before I use python to read data from it. I was using gdas.t12z.sfcf006.mem014.nemsio and I got error message like: " problem with nemsio_readrecv(ps), iret= -42" . Do you know how I can fix this issue?

masabhathini commented 5 years ago

Hi, I also facing the same issue. gfs_nemsiotonc gdas.t00z.atmf001.nemsio xx.nc problem with nemsio_readrecv(dpress), iret= -42

pls, guide me.

scothalverson commented 5 years ago

That error indicates that either the nemsio library couldn't find a record number for the specified name, or that it couldn't read the data once it found a record number. Are you sure the record name exists in your nemsio file? If so, could it be missing/corrupt?