[gradsusr] Uncorrect time value in sdfwrite

Andrew Friedman andfried at gmail.com
Sun May 20 05:41:35 EDT 2018


Hi Boyin,

To clarify: When you reopen sst.nc in GrADS, is the time value from ‘q dims’ correct, or is it also offset by 1?

-Andrew

> On May 18, 2018, at 8:12 PM, Boyin Huang - NOAA Federal <boyin.huang at noaa.gov> wrote:
> 
> Hi GrADS users,
> 
> I am writing NetCDF using the following
> 'set t 1'
> 'set x 1 180'
> 'set y 1 89'
> 'set z 1'
> 'set sdfwrite -4d -flt -nc4 sst.nc'
> 'sdfwrite sst'
> 
> Everything (including time attribute) looks fine except the value of time (in data section) is always 0 rather than 1:
> " time = 0 ;"
> 
> Any suggestions in correcting the problem are appreciated.
> 
> Thanks a lot
> 
> -- 
> Boyin Huang, Room-468
> NOAA/NCEI/CCOG
> Asheville, NC.
> 828-271-4851
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr




More information about the gradsusr mailing list