Commit 015d1bc4 authored by Carl Schreck's avatar Carl Schreck

Automated Nightly Commit - Wed Apr 10 00:01:03 EDT 2019

parent 5df0f108
......@@ -22,7 +22,7 @@ begin
; These are some parameters that could be useful to have up top
if( .not.isvar( "outName" ) ) then
outName = "oni"
outName = "nao"
end if
if( any( outName.eq.(/ "pdo", "amo" /) ) ) then
footerRows = 4
......@@ -60,7 +60,7 @@ begin
minTime = cd_inv_calendar( 1900, 07, 01, 0, 0, 0, timeUnits, 0 )
maxTime = cd_inv_calendar( 2100, 06, 30, 0, 0, 0, timeUnits, 0 )
httpPath = "http://esrl.noaa.gov/psd/data/correlation/" + inName + ".data"
httpPath = "https://esrl.noaa.gov/psd/data/correlation/" + inName + ".data"
basePath = "/home/carl/data/clim_indices/esrl_monthly/"
if( inName.eq."ao" ) then
asciiPath = basePath + "monthly.ao.index.b50.current.ascii.table"
......
......@@ -16,16 +16,22 @@ begin ; main
print_clock( "Here we go!" )
; These are some parameters that could be useful to have up top
months = (/ 11, 12, 1, 2, 3 /)
waveName = "er"
; months = (/ 11, 12, 1, 2, 3 /)
months = ispan(1,12,1)
waveName = "mjo"
varName = "trmm"
thresh = -1.5
minLon = 190
maxLon = 190
minLat = 00
minLon = 100
maxLon = 100
minLat = -10
maxLat = 10
inPath = "~/data/olr/current/olr.k09.nc"
if( varName.eq."olr" ) then
inPath = "~/data/nasa_ymc/fcst_verif/olr.k09.nc"
elseif( varName.eq."trmm" ) then
inPath = "~/data/nasa_ymc/fcst_verif/rain.k09.nc"
end if
inFile = addfile( inPath, "r" )
inTime = inFile->time
baseData = dim_standardize_n_Wrap( dim_avg_n_Wrap( \
......@@ -40,8 +46,11 @@ begin ; main
print( outString )
print_clock( "Writing" )
outPath = waveName + "." + lon_string(minLon) + ".csv"
outPath = "output/" + varName + "_" + waveName + "_" + thresh \
+ "_" + lon_string(minLon) + "_" + lat_string(minLat) \
+ "_" + lat_string(maxLat) + ".csv"
asciiwrite( outPath, outString )
print( outPath )
print_clock( "Thank you, come again." )
end; main
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment