[gradsusr] Help to draw the Domain area in the plot

Muhammadhn Muhammadh Khalid kmmuhammadh at gmail.com
Sat Aug 27 16:58:10 EDT 2016


Hi

I created my shape file using ArcGIS and when I was trying to open it as
you said I'm getting error message. It says my shape file can't e opened.
I have attached my shape file.

On 22 August 2016 at 16:18, Lyndon Mark Olaguera <
olagueralyndonmark429 at gmail.com> wrote:

> Dear Muhammadhn,
>
> One solution to your problem is to use shape files. I downloaded the
> shapefile of sri lanka from this site (administrative boundaries).
> http://www.diva-gis.org/datadown
>
> Use the *LKA_adm2.shp*
>
> So your commands would be
>
> sdfopen test_001_SRF.2005050100.nc
> set lat 7.28 7.8
> set lon 80 81
> set mpdraw off
> d ts
> draw shp LKA_adm2.shp
>
> One problem is that you only want the outline of a specific area. So I
> suggest that you edit the shapefiles.
> Crop the area that you want!. I am using QGIS to do this. See the
> following tutorial:
>
> http://gis.stackexchange.com/questions/37226/how-to-crop-
> shapefiles-in-qgis
>
> Once you cropped the shapefile, you can use the same commands above to
> upload the shape file.
>
> *Lyndon Mark P. Olaguera*
> Department of Physics
> Ateneo de Manila University
>
> Regional Climate Systems Group
> Manila Observatory
>
> On Mon, Aug 22, 2016 at 6:14 PM, Muhammadhn Muhammadh Khalid <
> kmmuhammadh at gmail.com> wrote:
>
>> I'm using netcdf file. I have attached it.
>> I want to draw the area shown in red color, in the attached picture,
>> named Domain area, in the following image, similar to the the area drawn in
>> the picture named example. I mean only the out line of that area.
>>>>  image.png
>> <https://drive.google.com/file/d/0B5uOgEO-8RyyeFYyZWZqRFk0cDZFLVI2M0ktVDN2cjZta3FJ/view?usp=drive_web>
>>>>
>> On 22 August 2016 at 14:49, Lyndon Mark Olaguera <
>> olagueralyndonmark429 at gmail.com> wrote:
>>
>>> Hi Muhammadhn,
>>>
>>> What type of file are you plotting? Is it a netcdf file or a ctl file?
>>> Can you attach it here?
>>>
>>> Can you also resend the image?I cant see it in the email.
>>>
>>> *Lyndon Mark P. Olaguera*
>>> Department of Physics
>>> Ateneo de Manila University
>>>
>>> Regional Climate Systems Group
>>> Manila Observatory
>>>
>>> On Mon, Aug 22, 2016 at 5:14 PM, Muhammadhn Muhammadh Khalid <
>>> kmmuhammadh at gmail.com> wrote:
>>>
>>>> Hi
>>>>
>>>> What I need exactly is using the command draw map. I want to draw my
>>>> map on the plot. Can I get any help on how to do it.
>>>>
>>>> On 20 August 2016 at 20:03, Jennifer M Adams <jadams21 at gmu.edu> wrote:
>>>>
>>>>> In the Users Guide (http://cola.gmu.edu/grads/gadoc/users.html), have
>>>>> a look at the section on Dimension Environment:
>>>>> http://cola.gmu.edu/grads/gadoc/dimenv.html
>>>>> —Jennifer
>>>>>
>>>>> On Aug 20, 2016, at 4:48 AM, Muhammadhn Muhammadh Khalid <
>>>>> kmmuhammadh at gmail.com> wrote:
>>>>>
>>>>> Hi Andrew
>>>>>
>>>>> First thing I need is drawing my domain area in that plot. Can you
>>>>> please say me how to do it.
>>>>>
>>>>> On 15 August 2016 at 23:32, Andrew Friedman <andfried at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Muhammadh,
>>>>>>
>>>>>> To plot only over land areas you can use the GrADS function
>>>>>> ‘maskout’, along with a variable for the land-ocean mask:
>>>>>> http://cola.gmu.edu/grads/gadoc/gradfuncmaskout.html
>>>>>>
>>>>>> Andrew
>>>>>>
>>>>>> > On Aug 15, 2016, at 7:18 PM, Muhammadhn Muhammadh Khalid <
>>>>>> kmmuhammadh at gmail.com> wrote:
>>>>>> >
>>>>>> > Hi everyone,
>>>>>> >
>>>>>> > I'm using GrADS Version 2.0.1.
>>>>>> > I have plotted the precipitation in shaded plot over an area.
>>>>>> Following diagram is my plot.
>>>>>> >
>>>>>> > <image.png>
>>>>>> >
>>>>>> > Now I want my study area to be drawn and want my shaded plot to
>>>>>> appear only inside that area as shown in the following diagram, which I
>>>>>> found in a journal.
>>>>>> > <image.png>
>>>>>> >
>>>>>> > Any help toward doing this task is highly appreciated and looking
>>>>>> forward to hear from you soon.
>>>>>> >
>>>>>> > --
>>>>>> > Regards,
>>>>>> > Muhammadh M Khalid
>>>>>> >
>>>>>> > _______________________________________________
>>>>>> > gradsusr mailing list
>>>>>> > gradsusr at gradsusr.org
>>>>>> > http://gradsusr.org/mailman/listinfo/gradsusr
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> gradsusr mailing list
>>>>>> gradsusr at gradsusr.org
>>>>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Muhammadh M Khalid
>>>>>
>>>>> _______________________________________________
>>>>> gradsusr mailing list
>>>>> gradsusr at gradsusr.org
>>>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>>>
>>>>>
>>>>> --
>>>>> Jennifer Miletta Adams
>>>>> Center for Ocean-Land-Atmosphere Studies (COLA)
>>>>> George Mason University
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> gradsusr mailing list
>>>>> gradsusr at gradsusr.org
>>>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Muhammadh M Khalid
>>>>
>>>>
>>>> _______________________________________________
>>>> gradsusr mailing list
>>>> gradsusr at gradsusr.org
>>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>>
>>>>
>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>
>>
>> --
>> Regards,
>> Muhammadh M Khalid
>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Regards,
Muhammadh M Khalid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160828/e3674151/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Catchment.shp
Type: application/octet-stream
Size: 89116 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20160828/e3674151/attachment-0001.obj 


More information about the gradsusr mailing list