[gradsusr] [EXTERNAL] Problem when displaying opendap data with 0-360 longitude grid

Adams, Jennifer M. (GSFC-610.2)[ADNET SYSTEMS INC] jennifer.m.adams at nasa.gov
Mon Apr 20 08:29:38 EDT 2020


Hi, Rabah –
That data set does wrap the globe, and I am able to get the display you’re asking for when I open it with GrADS. Please be aware that defined variables do not wrap the globe, so if you have started with ‘define myair = air’ (or some other more interesting define expression) and then tried your display, it won’t work. You must ‘set lon -20 360’ or ‘set lon 0 383’ first, and then define your variable in order to get the wrapping behavior you’re looking for.
--Jennifer

--
Jennifer Miletta Adams
ADNET Systems, Inc.
NASA/GSFC, Code 610.2
Building 32, Room S159
(301) 614-6070


From: gradsusr <gradsusr-bounces at gradsusr.org> on behalf of Rabah Hachelaf <r.hachelaf at gmail.com>
Reply-To: GrADS Users Forum <gradsusr at gradsusr.org>
Date: Sunday, April 19, 2020 at 10:04 PM
To: GrADS Users Forum <gradsusr at gradsusr.org>
Subject: [EXTERNAL] [gradsusr] Problem when displaying opendap data with 0-360 longitude grid

Hi GrADS users,

I am using this sdfopen command line to get reanalysis data
sdfopen https://psl.noaa.gov/thredds/dodsC/Datasets/20thC_ReanV3/prsSI/air.1900.nc<https://urldefense.proofpoint.com/v2/url?u=https-3A__psl.noaa.gov_thredds_dodsC_Datasets_20thC-5FReanV3_prsSI_air.1900.nc&d=DwMFaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=M2mFZsxo0ZoztoK2Lyoypu1kKkBVKyEoM9CXGWO42zk&m=TBfdGm8aSbBmn5UCw_7UTMdiLTf2QQ2qU55StCE_5fA&s=VcmCymgS3rA2JfZQCO-sNCBFuw0DZnheDtbWrG_cc3M&e=>

When i want to plot data over this domain :
'set lat 32.2 63.3'
'set lon -20 23'
Only data from 0 to 23 deg longitude is plotted
i also tried
'set lon 340 383'
but in this case only data from 340 to 360 is plotted

Any suggestions to fix this issue

Thanks
--
------------------------------
Best regards,
Rabah Hachelaf

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20200420/3e37dd84/attachment.html>


More information about the gradsusr mailing list