[gradsusr] About Masking
Govind Jha
govind_jha65 at yahoo.com
Mon Sep 9 12:31:26 EDT 2019
Dear all,
I have a gridded data in netcdf format.When I display variable in grads, It also plots outside the Nepal boundary.I wish to plot only inside the Nepal boundary.
ga-> sdfopen GPM_apr_2016.nc
Scanning self-describing file: GPM_apr_2016.nc
SDF file has no discernable time coordinate -- using default values.
SDF file GPM_apr_2016.nc is open as file 1
LON set to 79.45 88.55
LAT set to 24.95 31.55
LEV set to 0 0
Time values set: 1:1:1:0 1:1:1:0
E set to 1 1
ga-> q file
File 1 :
Descriptor: GPM_apr_2016.nc
Binary: GPM_apr_2016.nc
Type = Gridded
Xsize = 92 Ysize = 67 Zsize = 1 Tsize = 1 Esize = 1
Number of Variables = 1
rain 0 y,x rain
ga-> set mpdset hires
MPDSET file name = hires
ga-> set gxout shaded
ga-> d rain
Contouring: 10 to 130 interval 10
ga-> set display color white
ga-> c
ga-> d rain
Contouring: 10 to 130 interval 10
ga-> printim apr.png
Created PNG file apr.png
Any suggestion and advice will be highly appreciated.
With Regards ..................................................Govind Kumar Jha
................................................... Assistant Meteorologist
(Agro-Meteorology Section)
Department of Hydrology and Meteorology (DHM)
P.O. Box 406 Naxal, Nagpokhari, Kathmandu, Nepal
Tel: +977 1 4436272, 4432409
Fax: +977 1 4429919, 4432137
www.dhm.gov.np, www.hydrology.gov.np, www.mfd.gov.np
............................................................................. Mobile Number: 9779846265433 Email Id: govind_jha65 at yahoo.com.......................................................... Secretary .......................................
Student Organization Of Meteorology (SOM) , Tri -Chandra Campus Ghantaghar,kathmandu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20190909/0070a8dc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apr.png
Type: image/png
Size: 86544 bytes
Desc: not available
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20190909/0070a8dc/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GPM_apr_2016.nc
Type: application/x-netcdf
Size: 50920 bytes
Desc: not available
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20190909/0070a8dc/attachment-0001.nc>
More information about the gradsusr
mailing list