[gradsusr] Saving local copies of OPENDAP NetCDF files using SDFWRITE
Huw Davies
john.huw.davies at gmail.com
Mon Sep 9 11:43:17 EDT 2013
Thanks Jennifer - not seeing the wood for the trees issue!
From: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org]
On Behalf Of Jennifer Adams
Sent: 09 September 2013 14:13
To: GrADS Users Forum
Subject: Re: [gradsusr] Saving local copies of OPENDAP NetCDF files using
SDFWRITE
The first time step seems to be missing in the original data. Data are there
in u_curr.nc for t=2 and t=3.
--Jennifer
On Sep 8, 2013, at 1:54 PM, Huw Davies wrote:
Hello team.
I am using RTOFS current files using OPeNDAP. My script is:
*open data file (need to specify correct file)
'sdfopen
http://nomads.ncep.noaa.gov:9090/dods/rtofs/rtofs_global20130908/rtofs_glo_2
ds_nowcast_daily_prog'
* save local copy
'set t 1 last'
'set x 1 4320'
'set y 1 2160'
'define u = u_velocity'
'set sdfwrite u_curr.nc'
'sdfwrite u'
'define v = v_velocity'
'set sdfwrite v_curr.nc'
'sdfwrite v'
This saves a NetCDF file which I can open using 'sdfopen' and has the
correct parameters and variable ('u').
However when I try to plot the variable I receive the error:
'Cannot contour grid - all undefined values'
Most grateful for any guidance.
Huw
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030
_____
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3392 / Virus Database: 3222/6645 - Release Date: 09/07/13
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130909/ad0fd5f6/attachment-0003.html
More information about the gradsusr
mailing list