<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Abdus/Andrew,<br>
<br>
I'd be cautious of your nino4 as defined. I presume your data are
defined -180 to 180, where eastern longitudes are 0 to 180 and
western longitudes are -180 to 0. In your line:<br>
<br>
"define nino4=aave(sstanom,lon=-150,lon=160,lat=-5,lat=5)”<br>
<br>
the longitudes are in fact ascending (-150 is less than 160),
however I believe this will create a mean from 150W eastward all the
way around to 160E (again, assuming your longitudes are defined -180
to 180), a mean over 310 longitudes. Instead you want 160E to 150E,
or a mean over 50 longitudes. I further think Andrew's suggestion<br>
<br>
"define nino4=aave(sstanom,lon=160,lon=-150,lat=-5,lat=5)”<br>
<br>
will give an operation error (min lon > max lon).<br>
<br>
Instead you could try either:<br>
<br>
1. define two different boxes across the dateline:<br>
define nino4a = aave(sstanom,lon=160,lon=180,lat=-5,lat=5)<br>
define nino4b = aave(sstanom,lon=-180,lon=-150,lat=-5,lat=5)<br>
define nino4 = ( 20 * nino4a + 30 * nino4b ) / 50.0<br>
<br>
2. if the file is global and continuous, you might be able to use<br>
define nino4 = aave(sstanom,lon=340,lon=390,lat=-5,lat=5)<br>
<br>
Jim<br>
<br>
<div class="moz-cite-prefix">On 9/22/15 4:41 PM, MD ABDUS SATTAR
wrote:<br>
</div>
<blockquote
cite="mid:CAKnWhdny2_a5TtSds=cx52bA9BQ19JsFfOggQqX89-XmPYRE4Q@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Andrew
<div>Thanks!</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Sep 23, 2015 at 5:58 AM, Andrew
Friedman <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:andfried@gmail.com" target="_blank">andfried@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Abdus,<br>
<br>
I think that you are setting up the anomalies correctly.
However, you may have a problem with your NINO4 domain:<br>
> "define
nino4=aave(sstanom,lon=-150,lon=160,lat=-5,lat=5)”<br>
<br>
<a moz-do-not-send="true"
href="https://climatedataguide.ucar.edu/climate-data/nino-sst-indices"
rel="noreferrer" target="_blank">https://climatedataguide.ucar.edu/climate-data/nino-sst-indices</a><br>
<br>
In GrADS, longitudes need to be ascending.<br>
<br>
I think that you want to reverse your longitudes so you have<br>
<br>
"define nino4=aave(sstanom,lon=160,lon=-150,lat=-5,lat=5)”
OR "define nino4=aave(sstanom,lon=160,lon=210,lat=-5,lat=5)”<br>
<br>
Best, Andrew<br>
<span class=""><br>
> On Sep 22, 2015, at 7:57 AM, MD ABDUS SATTAR <<a
moz-do-not-send="true"
href="mailto:md-abdus.sattar@students.mq.edu.au"><a class="moz-txt-link-abbreviated" href="mailto:md-abdus.sattar@students.mq.edu.au">md-abdus.sattar@students.mq.edu.au</a></a>>
wrote:<br>
><br>
> Dear Andrew<br>
> Thank you very much for your previous suggestion.
Now, I can prepare El Nino series as well as temporal
correlation. However, I am not confident enough whether I
am right or wrong. I use the following script for
correlating El Nino 4 index with sea level pressure (Jan
1979 to Dec2014). Please confirm me the following command.<br>
> "reinit"<br>
> "sdfopen \Temp\<a moz-do-not-send="true"
href="http://sst7914.mnmean.v4.nc" rel="noreferrer"
target="_blank">sst7914.mnmean.v4.nc</a>"<br>
> "set t 1 12"<br>
> "define avesst=ave(sst1,t+0,t=432,12)"<br>
> "modify avesst seasonal"<br>
> "set t 1 432"<br>
> "define sstanom=sst1-avesst"<br>
><br>
> "define
nino4=aave(sstanom,lon=-150,lon=160,lat=-5,lat=5)"<br>
><br>
> "sdfopen \Users\mq43879691\documents\test2\<a
moz-do-not-send="true" href="http://mslp.mon.mean.nc"
rel="noreferrer" target="_blank">mslp.mon.mean.nc</a>"<br>
> "set lon 0 360"<br>
> "set lat -90 90"<br>
> "set t 1"<br>
> "d tcorr(nino4,mslp.2,t=1,t=432)"<br>
><br>
> Output:<br>
</span>> <image.png><br>
<div class="HOEnZb">
<div class="h5">><br>
> How can perform lead or lag correlation?<br>
><br>
> Best regards<br>
> Abdus<br>
><br>
> On Tue, Sep 15, 2015 at 6:48 AM, Andrew Friedman
<<a moz-do-not-send="true"
href="mailto:andfried@gmail.com">andfried@gmail.com</a>>
wrote:<br>
> Hi Abdus,<br>
><br>
> Your timeseries is static because your boundaries
for ssta do not have a time-varying dimension.<br>
><br>
> There are different commands, depending on what
you’re trying to do.<br>
><br>
> Are you trying to create a monthly ssta
climatology? If so, check out the instructions for the
command ‘modify’: <a moz-do-not-send="true"
href="http://www.iges.org/grads/gadoc/gradcomdmodify.html"
rel="noreferrer" target="_blank">http://www.iges.org/grads/gadoc/gradcomdmodify.html</a><br>
><br>
> Or are you trying to create a running mean
timeseries of ssta? In that case, try something like
ssta=ave(sst,t-11,t+0).<br>
><br>
> Best,<br>
> Andrew<br>
><br>
><br>
> On Sep 13, 2015, at 8:01 AM, MD ABDUS SATTAR <<a
moz-do-not-send="true"
href="mailto:md-abdus.sattar@students.mq.edu.au"><a class="moz-txt-link-abbreviated" href="mailto:md-abdus.sattar@students.mq.edu.au">md-abdus.sattar@students.mq.edu.au</a></a>>
wrote:<br>
><br>
> > Hi Andrew<br>
> > I was trying to set tloop, but still facing
difficulties. I prepared the script as:<br>
> > "reinit"<br>
> > "sdfopen \Users\mq43879691\documents\test2\<a
moz-do-not-send="true" href="http://sst.mnmean.v4.nc"
rel="noreferrer" target="_blank">sst.mnmean.v4.nc</a>"<br>
> > "set t 1 1937"<br>
> > "define ssta=ave(sst,t=1501,t=1933,12)"<br>
> ><br>
> > "set lat 25"<br>
> > "set lon 50"<br>
> > "set lev 0"<br>
> > "set t 1501 1933"<br>
> ><br>
> ><br>
> > "d
tloop(aave(ssta,lon=100,lon=170,lat=-5,lat=5))"<br>
> ><br>
> > "d
tloop(aave(sst,lon=100,lon=170,lat=-5,lat=5))"<br>
> ><br>
> > I can display time series of El Nino by using
sst value ("d
tloop(aave(sst,lon=100,lon=170,lat=-5,lat=5))").
However, I would like use to ssta ("d
tloop(aave(ssta,lon=100,lon=170,lat=-5,lat=5))") and
when I use this the following map is found. Could you
please suggest me in this regards?<br>
> ><br>
> ><br>
> ><br>
> > <image.png><br>
> ><br>
> ><br>
> > Thanking you<br>
> ><br>
> > Abdus<br>
> ><br>
> ><br>
> ><br>
> > On Fri, Sep 11, 2015 at 4:18 PM, Andrew
Friedman <<a moz-do-not-send="true"
href="mailto:andfried@gmail.com">andfried@gmail.com</a>>
wrote:<br>
> > Hi Abdus,<br>
> > You may need to use ‘tloop’ with aave: <a
moz-do-not-send="true"
href="http://www.iges.org/grads/gadoc/gradfunctloop.html"
rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://www.iges.org/grads/gadoc/gradfunctloop.html">http://www.iges.org/grads/gadoc/gradfunctloop.html</a></a><br>
> > Andrew<br>
> ><br>
> > On Sep 11, 2015, at 7:05 AM, MD ABDUS SATTAR
<<a moz-do-not-send="true"
href="mailto:md-abdus.sattar@students.mq.edu.au">md-abdus.sattar@students.mq.edu.au</a>>
wrote:<br>
> ><br>
> > > Dear GrADS Team<br>
> > > I am trying to calculate time series of
El Nino SST anomaly in January for a specific time
period.<br>
> > ><br>
> > > I wrote my script as:<br>
> > ><br>
> > > "reinit"<br>
> > > "sdfopen
\Users\mq43879691\documents\test2\<a
moz-do-not-send="true" href="http://sst.mnmean.v4.nc"
rel="noreferrer" target="_blank">sst.mnmean.v4.nc</a>"<br>
> > > "set lon 100"<br>
> > > "set lat 25"<br>
> > > "set z 1"<br>
> > > "set t 1 600"<br>
> > ><br>
> > > "define ssta=ave(sst,t=1,t=600,12)"<br>
> > ><br>
> > > "define elnino =
aave(ssta,lon=100,lon=170,lat=-5,lat=5)"<br>
> > ><br>
> > > "d elnino"<br>
> > ><br>
> > > The GrADS did not know show anything by
this script. On the other hand, when I display only ssta
setting lon 50 100 and lat 0 25; then it shows the ssta.
Can anybody help me in this regards?<br>
> > ><br>
> > > I look forward to your suggestion.<br>
> > ><br>
> > > Regards<br>
> > > Abdus<br>
> > > --<br>
> > > Md. Abdus Sattar<br>
> > > PhD Student<br>
> > > Department of Environmental Sciences<br>
> > > Level 2, Australian Hearing Hub Building<br>
> > ><br>
> > > Faculty of Science and Engineering<br>
> > > Macquarie University<br>
> > > NSW 2109 Australia<br>
> > ><br>
> > ><br>
> > > Cell: +61404400401<br>
> > > Email: <a moz-do-not-send="true"
href="mailto:md-abdus.sattar@students.mq.edu.au">md-abdus.sattar@students.mq.edu.au</a><br>
> > ><br>
> > > AND<br>
> > ><br>
> > > Assistant Professor<br>
> > > Department of Disaster Risk Management
(DRM)<br>
> > > Faculty of Disaster Management<br>
> > > Patuakhali Science and Technology
University, Dumki, Patuakhali, Bangladesh<br>
> > ><br>
> > > Cell: <a moz-do-not-send="true"
href="tel:%2B8801716851612" value="+8801716851612">+8801716851612</a><br>
> > > Email: <a moz-do-not-send="true"
href="mailto:abdus.sattar@pstu.ac.bd">abdus.sattar@pstu.ac.bd</a><br>
> > >
_______________________________________________<br>
> > > gradsusr mailing list<br>
> > > <a moz-do-not-send="true"
href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> > > <a moz-do-not-send="true"
href="http://gradsusr.org/mailman/listinfo/gradsusr"
rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
> ><br>
> ><br>
> >
_______________________________________________<br>
> > gradsusr mailing list<br>
> > <a moz-do-not-send="true"
href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> > <a moz-do-not-send="true"
href="http://gradsusr.org/mailman/listinfo/gradsusr"
rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Md. Abdus Sattar<br>
> > PhD Student<br>
> > Department of Environmental Sciences<br>
> > Level 2, Australian Hearing Hub Building<br>
> ><br>
> > Faculty of Science and Engineering<br>
> > Macquarie University<br>
> > NSW 2109 Australia<br>
> ><br>
> ><br>
> > Cell: <a moz-do-not-send="true"
href="tel:%2B61404400401" value="+61404400401">+61404400401</a><br>
> > Email: <a moz-do-not-send="true"
href="mailto:md-abdus.sattar@students.mq.edu.au">md-abdus.sattar@students.mq.edu.au</a><br>
> ><br>
> > AND<br>
> ><br>
> > Assistant Professor<br>
> > Department of Disaster Risk Management (DRM)<br>
> > Faculty of Disaster Management<br>
> > Patuakhali Science and Technology University,
Dumki, Patuakhali, Bangladesh<br>
> ><br>
> > Cell: <a moz-do-not-send="true"
href="tel:%2B8801716851612" value="+8801716851612">+8801716851612</a><br>
> > Email: <a moz-do-not-send="true"
href="mailto:abdus.sattar@pstu.ac.bd">abdus.sattar@pstu.ac.bd</a><br>
> >
_______________________________________________<br>
> > gradsusr mailing list<br>
> > <a moz-do-not-send="true"
href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> > <a moz-do-not-send="true"
href="http://gradsusr.org/mailman/listinfo/gradsusr"
rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
><br>
><br>
> _______________________________________________<br>
> gradsusr mailing list<br>
> <a moz-do-not-send="true"
href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> <a moz-do-not-send="true"
href="http://gradsusr.org/mailman/listinfo/gradsusr"
rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
><br>
><br>
><br>
> --<br>
> Md. Abdus Sattar<br>
> PhD Student<br>
> Department of Environmental Sciences<br>
> Level 2, Australian Hearing Hub Building<br>
><br>
> Faculty of Science and Engineering<br>
> Macquarie University<br>
> NSW 2109 Australia<br>
><br>
><br>
> Cell: <a moz-do-not-send="true"
href="tel:%2B61404400401" value="+61404400401">+61404400401</a><br>
> Email: <a moz-do-not-send="true"
href="mailto:md-abdus.sattar@students.mq.edu.au">md-abdus.sattar@students.mq.edu.au</a><br>
><br>
> AND<br>
><br>
> Assistant Professor<br>
> Department of Disaster Risk Management (DRM)<br>
> Faculty of Disaster Management<br>
> Patuakhali Science and Technology University,
Dumki, Patuakhali, Bangladesh<br>
><br>
> Cell: <a moz-do-not-send="true"
href="tel:%2B8801716851612" value="+8801716851612">+8801716851612</a><br>
> Email: <a moz-do-not-send="true"
href="mailto:abdus.sattar@pstu.ac.bd">abdus.sattar@pstu.ac.bd</a><br>
> _______________________________________________<br>
> gradsusr mailing list<br>
> <a moz-do-not-send="true"
href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> <a moz-do-not-send="true"
href="http://gradsusr.org/mailman/listinfo/gradsusr"
rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a moz-do-not-send="true"
href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a moz-do-not-send="true"
href="http://gradsusr.org/mailman/listinfo/gradsusr"
rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Md. Abdus Sattar
<div>PhD Student</div>
<div>Department of Environmental Sciences</div>
<div><span
style="font-family:arial,helvetica,sans-serif;font-size:12px;line-height:15px">Level
2, Australian Hearing Hub Building</span><br
style="font-size:12.8000001907349px">
<span style="font-size:12.8000001907349px"><br>
</span></div>
<div><span
style="font-size:12.8000001907349px">Faculty
of Science and Engineering<br>
Macquarie University<br>
</span><span
style="font-size:12.8000001907349px">NSW
2109 Australia</span><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Cell: +61404400401</div>
<div>Email: <a moz-do-not-send="true"
href="mailto:md-abdus.sattar@students.mq.edu.au"
target="_blank">md-abdus.sattar@students.mq.edu.au</a></div>
<div><br>
</div>
<div><b>AND</b></div>
<div><br>
</div>
<div>
<div style="font-size:12.8000001907349px">Assistant
Professor</div>
<div style="font-size:12.8000001907349px">Department
of Disaster Risk Management (DRM)</div>
</div>
<div><span
style="background-color:rgb(243,243,243)">Faculty
of Disaster Management</span></div>
<div>Patuakhali Science and Technology
University, Dumki, Patuakhali, Bangladesh</div>
<div><br>
</div>
<div>Cell: +8801716851612</div>
<div>Email: <a moz-do-not-send="true"
href="mailto:abdus.sattar@pstu.ac.bd"
target="_blank">abdus.sattar@pstu.ac.bd</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
</body>
</html>