[gradsusr] ENSO Forecast Plumes Script
James Spinks
jspin881 at hotmail.com
Tue Jun 26 15:59:38 EDT 2018
Hey Jennifer,
Thanks. You're right. After downloading the data in netcdf format, the files opened with no problem. What would I use the descriptor file if the nc files open without it? Just curious.
I'll give your suggestions a try. Thanks for the help.
________________________________
From: gradsusr <gradsusr-bounces at gradsusr.org> on behalf of Jennifer M Adams <jadams21 at gmu.edu>
Sent: Tuesday, June 26, 2018 3:00 PM
To: GrADS Users Forum
Subject: Re: [gradsusr] ENSO Forecast Plumes Script
Hi, James —
The data I use to draw the plumes is freely available from NOAA:
ftp://ftp.cpc.ncep.noaa.gov/wd52dg/data/indices/sstoi.indices (for the obs)
ftp://ftp.cpc.ncep.noaa.gov/NMME/realtime_anom (for the model forecasts)
You will need to download the data and create your own descriptor files, but that is a very straightforward task — no special tricks. Recently the format of the model data changed -- now it is NetCDF instead of GRIB — which makes it even easier. Below is the bit of script code for writing the ascii data as a binary time series:
'set gxout fwrite'
t=0
while (1)
res=read(ascfile)
line1=sublin(res,1)
line2=sublin(res,2)
rc1 = subwrd(line1,1)
if (rc1); break; endif
ck=subwrd(line2,1)
if (ck!='YR')
t=t+1
year=ck
m=subwrd(line2,2)
val=subwrd(line2,10)
'd 'val
if (t=1)
iyear=year
imon=subwrd(mons,m)
endif
endif
endwhile
'disable fwrite'
—Jennifer
On Jun 26, 2018, at 10:40 AM, James Spinks <jspin881 at hotmail.com<mailto:jspin881 at hotmail.com>> wrote:
Hi all,
I was wondering if there was an updated link for the ENSO Forecast Plumes script since the URL http://monsoondata.org:9090/dods/ has been decommissioned.
The script is hosted here http://cola.gmu.edu/enso_forecast_plumes.html and looks to still be running just fine, but the script does not contain an updated link. If there is a replacement link, can some please provide the new link.
Thank you,
James
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://secure-web.cisco.com/10cV7uvP1gMb6aGhsXoFmP9FcAbE16taY_R_CEn2DeLZcOVmzB2z8hEltkCJAzIqJc222mfbwJD1BXPCTrrkdCW-92A_3qXj4-zk3pcAGXRXDsfDVGyoNujgAffAPmVw613uXORG6J4-KHEuak38h5fRR3-mpQvMbpqwaSo_paZU-ZzrCz_sA6HXlZ89camd3E1ugdUdARvcxwvWRbX8rH9ZZSlsIGM92_lQYuTp69dFfq4B4T7GhQ2WibEwTgESteR32Zlwkwd9pQsrMU03xMITiJuRmVXIhsvqg3q1eaSud5BN6-nYbJf_z6FattWnWt2f6TGx0vl_nGZBb226xlQb0_sb5y_UnBh_mJFCN-KWM1VE66DaDGW1VIHUe48-EOTQxnnp7IvtlxkSenu6GSQOcOu9k87zqLTajNFICvw6HGFTbrE9OGDNxb-fyIKk2/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr
--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20180626/d847b15a/attachment.html>
More information about the gradsusr
mailing list