[gradsusr] Saving to .nc file

M.Mahakur mmahakur at tropmet.res.in
Tue Nov 9 13:20:37 EST 2021


1. If, last is variable; keep it out of quote 
2. copy the data to a new variable. 

'set t 1 'last 
'new=gpa' 
'set sdfwrite -4d -nc4 C:\OpenGrADS-2.2\data\HRRRGPA.nc' 
'sdfwrite new' 


From: jason at solargrafix.com 
To: "GrADS Users Forum" <gradsusr at gradsusr.org> 
Sent: Tuesday, November 9, 2021 10:27:20 PM 
Subject: [gradsusr] Saving to .nc file 

Hello, 

I am trying to save a time series to a .nc file using the following 
code... 

'set t 1 last' 
'set sdfwrite -4d -nc4 C:\OpenGrADS-2.2\data\HRRRGPA.nc' 
'sdfwrite gpa' 

The first time step saves fine, but no other time steps are saved, I 
just get a blank map with a date that reads Jan 01. 0001. How can I 
save all of the time steps with the correct time stamps into one .nc 
file. 

Thank you, 
Jason Warren 
_______________________________________________ 
gradsusr mailing list 
gradsusr at gradsusr.org 
http://gradsusr.org/mailman/listinfo/gradsusr 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20211109/77f6d5ca/attachment.html>


More information about the gradsusr mailing list