[gradsusr] Not able to plot area average values

Ipshita imajhi at gmail.com
Mon Mar 14 21:45:12 EDT 2016


Thank you it worked!
Best Regards
Ipshita

__________

> On Mar 14, 2016, at 5:30 PM, Jayakrishnan P.R <prjayakrishnan at gmail.com> wrote:
> 
> I think you cannot have three dimensions varying at a time ie time varying, lat varying and lon varying. U would like to plot area average of sce between 10-75 E and 0-45 N as a line graph I assume. For that You can do as follows.
> 
> 'reinit'
> 'sdfopen sce2007.nc'
> 'set lat 10'
> 'set lon 70'
> 'set grads off'
> 'set time 15may2007 31oct2007'
> 'define c=aave(sce,lon=70,lon=80,lat=10,lat=20)'
> 'd c'
> 'draw title Area average SCE 10-20 N, 70-80 E'
> 'printim sce.jpg white'
> 
> Modify as your case.
> 
> 
> 
>> On Tue, Mar 15, 2016 at 8:27 AM, Ipshita Majhi <ipmajhi at alaska.edu> wrote:
>> Dear Grads,
>> 
>> I use the following set of commands:-
>> 
>> set t 1 573
>> set lon 1 88
>> LON set to 1 88 
>> set lat 1 88
>> LAT set to 1 88 
>> set mproj off
>> d aave(sce,x=10,x=75,y=0,y=45)
>> 
>> It gives me 573 individual 
>> result values and does not plot anything
>> 
>> 
>> The .ctl file looks like this:-
>> 
>> DSET ^sce_mon_mean.nc 
>> dtype netcdf
>> TITLE NOAA/NCDC Climate Data Record of snow cover extent
>> UNDEF  -9     
>> XDEF x 88 LINEAR 1 1 
>> YDEF y 88 LINEAR 1 1
>> TDEF time 573 LINEAR OCT1966 1MO
>> VARS 1
>> sce=>sce 0 1 Snow cover extent
>> ENDVARS
>> 
>> Any help will be appreciated.
>> Best Regards
>> Ipshita
>> 
>> 
>> 
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>> 
> 
> 
> 
> -- 
> Sincerely
> 
> **************************************************
> Dr. Jayakrishnan P.R
> Post Doctoral Research Fellow
> C308, Institute of Ocean and Earth Sciences (IOES)
> University of Malaya
> 50603, Kuala Lumpur
> Tel: (+603) 7967 4640 / 6995
> Mobile: 012-3526094
> 
> ****************************************************
> 
> 
> 
> 
> _______________________________________________
> 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/20160314/724f7b4b/attachment.html 


More information about the gradsusr mailing list