<div dir="ltr"><span style="font-size:12.8px">All grads users,</span><div><span style="font-size:12.8px">I am working on Uttar Pradesh use the data in .nc</span><span style="font-size:12.8px"> files. I want to show Uttar Pradesh using Grads in India . Please guide me</span><span style="font-size:12.8px"> how to show it. I have Uttar pradesh shapefiles also which I am using in</span><span style="font-size:12.8px"> ArcGIS if any idea to import it in grads to show it in India.</span><br style="font-size:12.8px"><span style="font-size:12.8px"> Thanks</span><br style="font-size:12.8px"><span style="font-size:12.8px"> Narendra Sharma</span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 February 2017 at 14:33, <span dir="ltr"><<a href="mailto:gradsusr-request@gradsusr.org" target="_blank">gradsusr-request@gradsusr.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send gradsusr mailing list submissions to<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:gradsusr-owner@gradsusr.org">gradsusr-owner@gradsusr.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of gradsusr digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: writing a netCDF file that conforms to COARDS conventions<br>
to be opened using sdfopen (Jennifer M Adams)<br>
2. Re: Cannot able to plot NARR data (kalyan chakravarthy)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Wed, 1 Feb 2017 21:50:10 +0000<br>
From: Jennifer M Adams <<a href="mailto:jadams21@gmu.edu">jadams21@gmu.edu</a>><br>
Subject: Re: [gradsusr] writing a netCDF file that conforms to COARDS<br>
conventions to be opened using sdfopen<br>
To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
Message-ID: <<a href="mailto:FA318E7C-254A-4DB2-B8C4-330FAA013AA8@gmu.edu">FA318E7C-254A-4DB2-B8C4-<wbr>330FAA013AA8@gmu.edu</a>><br>
Content-Type: text/plain; charset="windows-1252"<br>
<br>
That?s correct; the sdfopen command will not work. You?ll need to interpolate your data to a rectilinear lat/lon grid before writing it out to a file. ?Jennifer<br>
<br>
<br>
On Feb 1, 2017, at 1:38 PM, Jeff Duda <<a href="mailto:jeffduda319@gmail.com">jeffduda319@gmail.com</a><mailto:<a href="mailto:jeffduda319@gmail.com"><wbr>jeffduda319@gmail.com</a>>> wrote:<br>
<br>
Cathy,<br>
My grid is irregular (rotated lat/lon projection), so my coordinate variables are 2-dimensional themselves. Thus I can't really set lat and lon as dimensions, and thus can't dimension the array by those coordinate variables. Does this mean I cannot conform this file to the standards necessary for sdfopen to be used?<br>
<br>
Jeff<br>
<br>
On Wed, Feb 1, 2017 at 12:19 PM, Cathy Smith (NOAA Affiliate) <<a href="mailto:cathy.smith@noaa.gov">cathy.smith@noaa.gov</a><mailto:<a href="mailto:cathy.smith@noaa.gov">c<wbr>athy.smith@noaa.gov</a>>> wrote:<br>
Jeff<br>
You variable array needs to be dimensioned by the coordinate variables. That is<br>
<br>
float sm(lat, lon) ;<br>
<br>
Cathy Smith<br>
<br>
<br>
On 2/1/17 10:58 AM, Jeff Duda wrote:<br>
I'm trying to write a netCDF file that I can then open in Grads using sdfopen. I'm missing some stuff, though, but I'm not sure what. Here is the ncdump of the file I have created:<br>
<br>
netcdf sm_raw_dump {<br>
dimensions:<br>
dimx = 1568 ;<br>
dimy = 1120 ;<br>
dimz = 50 ;<br>
variables:<br>
float sm(dimy, dimx) ;<br>
float lat(dimy, dimx) ;<br>
lat:units = "degrees_north" ;<br>
lat:axis = "y" ;<br>
float lon(dimy, dimx) ;<br>
lon:units = "degrees_east" ;<br>
lon:axis = "y" ;<br>
}<br>
<br>
Is there a problem with the names of the dimensions? Should I not have 'dimz' in there since none of the arrays use that dimension? Can I not use sdfopen if I have 2-D coordinate variables (lat and lon in this case)? The field I want to display using Grads is sm<br>
<br>
Jeff Duda<br>
<br>
--<br>
Jeff Duda<br>
Post-doctoral research fellow<br>
University of Oklahoma School of Meteorology<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">g<wbr>radsusr@gradsusr.org</a>><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br>
<br>
<br>
--<br>
------------------------------<wbr>----------------<br>
NOAA/ESRL PSD and CU CIRES<br>
303-497-6263<br>
<a href="http://www.esrl.noaa.gov/psd/people/cathy.smith/" rel="noreferrer" target="_blank">http://www.esrl.noaa.gov/psd/<wbr>people/cathy.smith/</a><br>
<br>
Emails about data/webpages may get quicker responses from emailing<br>
<a href="mailto:esrl.psd.data@noaa.gov">esrl.psd.data@noaa.gov</a><mailto:<a href="mailto:esrl.psd.data@noaa.gov"><wbr>esrl.psd.data@noaa.gov</a>><br>
<br>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">g<wbr>radsusr@gradsusr.org</a>><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br>
<br>
<br>
<br>
--<br>
Jeff Duda<br>
Post-doctoral research fellow<br>
University of Oklahoma School of Meteorology<br>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><mailto:<a href="mailto:gradsusr@gradsusr.org">g<wbr>radsusr@gradsusr.org</a>><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br>
--<br>
Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20170201/e6757075/attachment-0001.html" rel="noreferrer" target="_blank">http://gradsusr.org/pipermail/<wbr>gradsusr/attachments/20170201/<wbr>e6757075/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 1 Feb 2017 14:33:20 -0800<br>
From: kalyan chakravarthy <<a href="mailto:kalyan4space@gmail.com">kalyan4space@gmail.com</a>><br>
Subject: Re: [gradsusr] Cannot able to plot NARR data<br>
To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
Message-ID:<br>
<<a href="mailto:CAA6N%2B5verqTxb%2BXTVS5gbJnYh3kJ4UwN1uZd1%2BST7TM0MiRFew@mail.gmail.com">CAA6N+5verqTxb+<wbr>XTVS5gbJnYh3kJ4UwN1uZd1+<wbr>ST7TM0MiRFew@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi James,<br>
<br>
Thanks for your reply. I can also observed the same plots.<br>
What does the data mean, i.e whether the data is missing or Do we need to<br>
regrid the data file to plot.<br>
<br>
Regards,<br>
Kalyan<br>
<br>
<br>
<br>
<br>
On Wed, Feb 1, 2017 at 9:31 AM, James T. Potemra <<a href="mailto:jimp@hawaii.edu">jimp@hawaii.edu</a>> wrote:<br>
<br>
> Kalyan,<br>
><br>
> Does your display show "Entire Grid Undefined" or is it simply a blank<br>
> map? Using your descriptor file and data set if I do:<br>
> ga-> open model<br>
> ga-> d HGTprs(lev=500)-HGTprs(lev=<wbr>1000)<br>
><br>
> I get a blank screen (image1.png). If instead I do this:<br>
><br>
> ga-> open model<br>
> ga-> set gxout grfill<br>
> ga-> d HGTprs(lev=500)-HGTprs(lev=<wbr>1000)<br>
><br>
> I see a bunch of scattered points (image2.png). Zooming to an arbitrary<br>
> 10x10-degree region you can see these in more detail (image3.png)<br>
><br>
> ga-> open model<br>
> ga-> set gxout grfill<br>
> ga-> set lat 20 30<br>
> ga-> set lat 10 20<br>
> ga-> set lon -160 -140<br>
> ga-> d HGTprs(lev=500)-HGTprs(lev=<wbr>1000)<br>
><br>
> I believe this means you don't have enough contiguous points to generate<br>
> contours, thus the need for gxout=grfill.<br>
><br>
> Jim<br>
><br>
><br>
> On 1/31/17 8:09 PM, kalyan chakravarthy wrote:<br>
><br>
> Thanks a lot for your reply. I have given the range of longitudes between<br>
> 140W to 0. Still I didn't observe any changes in the plot.<br>
><br>
> Regards,<br>
> Kalyan<br>
><br>
><br>
> On Tue, Jan 31, 2017 at 5:54 PM, James T. Potemra <<a href="mailto:jimp@hawaii.edu">jimp@hawaii.edu</a>> wrote:<br>
><br>
>> Hi Kalyan,<br>
>><br>
>> There are a lot of missing data in your file, so that might be why<br>
>> contours/shading doesn't show up. If you use "set gxout grfill" before "d<br>
>> thick" you can see all the valid grid cells. Also note that your longitude<br>
>> values are somewhat unconventional and run from -220 -0.4375 (140E to 0),<br>
>> so make sure your "set lon x1 x1" is within that range.<br>
>><br>
>> Jim<br>
>><br>
>> On 1/31/17 3:31 PM, kalyan chakravarthy wrote:<br>
>><br>
>> Hi Everyone,<br>
>><br>
>> By using NARR data, I am trying to plot the thickness between 500-1000mb<br>
>> levels. I am having an ctl file to open the grib file.<br>
>><br>
>> I have used the following commands to read and plot the file<br>
>><br>
>> Open model.ctl<br>
>> set lat y1 y2<br>
>> set lon x1 x2<br>
>> define thick=HGTprs(lev=500)-HGTprs(<wbr>lev=1000)<br>
>> d thick<br>
>><br>
>> But I didn't see any shaded or contours drawn. Can anyone helpme with the<br>
>> problem.<br>
>><br>
>> I have attached the data files.<br>
>><br>
>> Thanks in advance<br>
>> Kalyan?<br>
>> model.ctl<br>
>> <<a href="https://drive.google.com/file/d/0B5GylLRnzAPJeFBpUDNPOFc3aGM/view?usp=drive_web" rel="noreferrer" target="_blank">https://drive.google.com/<wbr>file/d/<wbr>0B5GylLRnzAPJeFBpUDNPOFc3aGM/<wbr>view?usp=drive_web</a>><br>
>> ??<br>
>> narr-a_221_20100927_0600_000.<wbr>grb<br>
>> <<a href="https://drive.google.com/file/d/0B5GylLRnzAPJaG4tMTd5YkpxWTg/view?usp=drive_web" rel="noreferrer" target="_blank">https://drive.google.com/<wbr>file/d/<wbr>0B5GylLRnzAPJaG4tMTd5YkpxWTg/<wbr>view?usp=drive_web</a>><br>
>> ??<br>
>> narr-a_221_20100927_hh00_000.<wbr>idx<br>
>> <<a href="https://drive.google.com/file/d/0B5GylLRnzAPJWHBOQjRGMFJwZlU/view?usp=drive_web" rel="noreferrer" target="_blank">https://drive.google.com/<wbr>file/d/<wbr>0B5GylLRnzAPJWHBOQjRGMFJwZlU/<wbr>view?usp=drive_web</a>><br>
>> ?<br>
>><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> gradsusr mailing listgradsusr@gradsusr.orghttp:<wbr>//<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
>><br>
>> ______________________________<wbr>_________________ gradsusr mailing list<br>
>> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
><br>
> ______________________________<wbr>_________________<br>
> gradsusr mailing listgradsusr@gradsusr.orghttp:<wbr>//<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> gradsusr mailing list<br>
> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20170201/18f3e510/attachment.html" rel="noreferrer" target="_blank">http://gradsusr.org/pipermail/<wbr>gradsusr/attachments/20170201/<wbr>18f3e510/attachment.html</a><br>
<br>
------------------------------<br>
<br>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br>
<br>
End of gradsusr Digest, Vol 84, Issue 4<br>
******************************<wbr>*********<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b><i style="background-color:rgb(243,243,243)"><font color="#6aa84f">Narendra Sharma</font></i></b><div><b><i style="background-color:rgb(243,243,243)"><font color="#6aa84f">(M.Sc.(Mathematics) )(B.H.U.) ,</font></i></b></div><div><b><i style="background-color:rgb(243,243,243)"><font color="#6aa84f">Research Scholar in IESD B.H.U.</font></i></b></div><div><b><i style="background-color:rgb(243,243,243)"><font color="#6aa84f"> varanasi</font></i></b></div><div><b><i style="background-color:rgb(243,243,243)"><font color="#6aa84f">+91-8574486661</font></i></b></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>