[gradsusr] No scaling environment in grads

Jeff Lake admin at michiganwxsystem.com
Tue Nov 20 13:41:04 EST 2012


what do you mean shaded??
I am pretty sure you can't colorize shape files

-Jeff Lake
MichiganWxSystem.com
AllisonHouse.com
TheWeatherCenter.net
GRLevelXStuff.com

On 11/20/2012 13:26, manu verma wrote:
> but how to make it shaded
>
> On Fri, Nov 16, 2012 at 2:18 AM, Jeff Lake <admin at michiganwxsystem.com 
> <mailto:admin at michiganwxsystem.com>> wrote:
>
>     here is the GrADS template I am using
>
>
>     'open rap_snod.ctl'
>
>
>     'clear shp'
>     'set mproj latlon'
>     'set clevs 2 4 8 12 16 20 25 30 40 50 75 100 150'
>     'set gxout shp'
>     'set shp -poly snowd'
>     'd SNOD'
>
>
>     'end'
>
>     this creates the shape file, with the internal contour levels set
>     by `clevs`
>     the resulting shape file is imported into my postgresql database by
>     the postGIS script `shp2pgsql`.
>     I then use custom php class to create the png image
>
>
>     -Jeff Lake
>     MichiganWxSystem.com
>     AllisonHouse.com
>     TheWeatherCenter.net
>     GRLevelXStuff.com
>
>     On 11/15/2012 12:41, manu verma wrote:
>>     yes but the image which you have attached is this a jpeg file or
>>     some shape layer which you have exported to GIS. Actually i want
>>     to create a shaded contour plot as shape layer so that i can
>>     export it on my GIS.
>>
>>     Thanks if you can help me.
>>
>>
>>
>>
>>     On Thu, Nov 15, 2012 at 10:53 AM, Jeff Lake
>>     <admin at michiganwxsystem.com <mailto:admin at michiganwxsystem.com>>
>>     wrote:
>>
>>         if your creating sn help mehape files, you can control the
>>         interval of the shape file
>>         with 'set ccols ................'
>>
>>         I use GrADS to make a number of shape files, then use postGIS
>>         and php to create the maps
>>
>>         http://images.michiganwxsystem.com/contours/snow/rap_snowdepth.png
>>
>>         -Jeff Lake
>>         MichiganWxSystem.com
>>         AllisonHouse.com
>>         TheWeatherCenter.net
>>         GRLevelXStuff.com
>>
>>         On 11/15/2012 0:03, manu verma wrote:
>>>
>>>
>>>         On Thu, Nov 1, 2012 at 10:03 PM, Stephen McMillan
>>>         <smcmillan at planalytics.com
>>>         <mailto:smcmillan at planalytics.com>> wrote:
>>>
>>>             Manu,
>>>             Are you wanting to draw or create shapefiles?  Use 'set
>>>             gxout shp' for creating shapefiles, but 'draw shp ...'
>>>             for drawing them.  If you haven't already done so,
>>>             please review the GrADS documentation for instructions
>>>             on working with shapefiles:
>>>             http://grads.iges.org/grads/gadoc/shapefiles.html
>>>
>>>             Here are a couple of useful links included in the above:
>>>             http://grads.iges.org/grads/gadoc/gradcomdsetshpopts.html
>>>             http://grads.iges.org/grads/gadoc/gradcomddrawshp.html
>>>
>>>             Here is a simple sample script sequence for overlaying a
>>>             shapefile (political boundaries) on a shaded variable
>>>             (sea level pressure):
>>>
>>>             'set gxout shaded'
>>>             'set mpdraw off'
>>>             'd prmslmsl/100'
>>>             'cbarn'
>>>             'set shpopts -1'
>>>             'set line 4'
>>>             'draw shp admin98'
>>>
>>>             Stephen Mc
>>>
>>>
>>>             On Thu, Nov 1, 2012 at 3:51 AM, manu verma
>>>             <verma.manuu at gmail.com <mailto:verma.manuu at gmail.com>>
>>>             wrote:
>>>
>>>                 Thanks
>>>                 But i want to save two set gxout shaded and set
>>>                 gxout shp in one script.If i use set gxout shaded
>>>                 then it doesn't save in shape file.PLease help
>>>
>>>                 On Wed, Oct 31, 2012 at 6:53 PM, Stephen McMillan
>>>                 <smcmillan at planalytics.com
>>>                 <mailto:smcmillan at planalytics.com>> wrote:
>>>
>>>                     First "display" any variable from your dataset,
>>>                     then use the draw shp command.  Stephen Mc
>>>
>>>                     On Wed, Oct 31, 2012 at 4:37 AM, manu verma
>>>                     <verma.manuu at gmail.com
>>>                     <mailto:verma.manuu at gmail.com>> wrote:
>>>
>>>                         Dear all
>>>
>>>
>>>                         When i am running command draw shp it always
>>>                         showing no scaling environment. How to
>>>                         resolve it.
>>>
>>>
>>>                         Manu
>>>
>>>                         _______________________________________________
>>>                         gradsusr mailing list
>>>                         gradsusr at gradsusr.org
>>>                         <mailto:gradsusr at gradsusr.org>
>>>                         http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>>                     ***************************************************
>>>                     The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary.
>>>
>>>                     If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.
>>>                     ***************************************************
>>>
>>>
>>>                     _______________________________________________
>>>                     gradsusr mailing list
>>>                     gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>>>                     http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>>
>>>                 _______________________________________________
>>>                 gradsusr mailing list
>>>                 gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>>>                 http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>>             ***************************************************
>>>             The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary.
>>>
>>>             If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.
>>>             ***************************************************
>>>
>>>
>>>             _______________________________________________
>>>             gradsusr mailing list
>>>             gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>>>             http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>>         Hello
>>>
>>>         I want to make shaded contours and export it as shapefile in
>>>         grads. HOw to do it.Please help me
>>>
>>>         Thanks
>>>         Manu
>>>
>>>
>>>         _______________________________________________
>>>         gradsusr mailing list
>>>         gradsusr at gradsusr.org  <mailto:gradsusr at gradsusr.org>
>>>         http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>>         _______________________________________________
>>         gradsusr mailing list
>>         gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>>         http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>>
>>
>>     _______________________________________________
>>     gradsusr mailing list
>>     gradsusr at gradsusr.org  <mailto:gradsusr at gradsusr.org>
>>     http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>     _______________________________________________
>     gradsusr mailing list
>     gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>     http://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/20121120/02340a76/attachment-0003.html 


More information about the gradsusr mailing list