comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » EOF Arctic Oscillation for beginner
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
EOF Arctic Oscillation for beginner [message #90535] Fri, 06 March 2015 14:03 Go to previous message
siumtesfai is currently offline  siumtesfai
Messages: 62
Registered: April 2013
Member
Hello All,

I have difficulty in reproducing AO regression map
( http://www.cpc.ncep.noaa.gov/products/precip/CWlink/daily_ao _index/ao.loading.shtml)


I am working with the code (http://www.idlcoyote.com/code_tips/eof_analysis.html)


According the website it says
Note that my latitude values go from 47.5 to 90.0 degrees of latitude, in 2.5 degree increments. I am going to subtract 1.75 degrees from each of these latitude values, in order to locate the latitudes in the center of the grid, and to avoid multiplying by zero for all the latitudes at 90 degrees.

so dlat/2. should be 1.75

dims = Size(air_temp, /Dimensions)
nlon = dims[0] & nlat = dims[1] & ntime = dims[2]
lon = Reform(lon_ncep[*,0]) & dlon = Abs(lon[1]-lon[0])
lat = Reform(lat_ncep[0,*]) & dlat = Abs(lat[1]-lat[0])
weights = Sqrt(Cos((lat_ncep - dlat/2.) * !DtoR))
FOR j=0,ntime-1 DO air_temp[*,*,j] = air_temp[*,*,j] * weights

any suggestion

Best regards
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: JBIU
Next Topic: NCDF_ATTPUT segmentation fault with /STRING keyword

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:09:47 PDT 2025

Total time taken to generate the page: 0.00386 seconds