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