[gradsusr] Script for Correlation

MD ABDUS SATTAR md-abdus.sattar at students.mq.edu.au
Mon Sep 7 20:58:21 EDT 2015


Dear Team
I would like to draw some correlation maps between El Nino and other
parameters, e.g. relative humidity, sea surface pressure etc. Firstly, I
was trying to see the correlation patterns between El Nino and relative
humidity during 1979-2014 and I used sst data from
http://www.esrl.noaa.gov/psd/data/gridded/data.noaa.ersst.v4.html (where
grid size is 2X2 degree and data are 1854/01 - present) whereas rhum data
from NCEP reanalysis II (grid size 2.5X2.5 degree 1979/01 - present.

 I wrote my script as:
"reinit"
"sdfopen \Users\mq43879691\documents\test2\sst.mnmean.v4.nc"
"sdfopen \Users\mq43879691\documents\test2\rhum.mon.mean.nc"
"set t 1 432"
"set time 00z01jan1979 00z01dec2014"
"set lev 0"
"set timelab off"
"set grads off"
"define elnino = aave(sst,lon=-170,lon=-120,lat=-5,lat=5)"
"set lon 50 100"
"set lat 0 25"
"set gxout contour"


"d tcorr(elnino,rhum)"

It says error from tcorr, operation and expression. I could not find out
the problem. Could anyone help me in this regard?

I look forward to your message

Best regards
Abdus


-- 
Md. Abdus Sattar
PhD Student
Department of Environmental Sciences
Level 2, Australian Hearing Hub Building

Faculty of Science and Engineering
Macquarie University
NSW 2109 Australia


Cell: +61404400401
Email: md-abdus.sattar at students.mq.edu.au

*AND*

Assistant Professor
Department of Disaster Risk Management (DRM)
Faculty of Disaster Management
Patuakhali Science and Technology University, Dumki, Patuakhali, Bangladesh

Cell: +8801716851612
Email: abdus.sattar at pstu.ac.bd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150908/8bc9cd4a/attachment-0001.html 


More information about the gradsusr mailing list