Commit 1844bbef authored by Carl Schreck's avatar Carl Schreck

Automated Nightly Commit - Thu Aug 30 00:00:16 EDT 2018

parent 23e45164
......@@ -11,7 +11,7 @@ NCL_DIR=`pwd`
LOG_DIR=$NCL_DIR/log
mkdir -p $LOG_DIR
VARNAME="psfc"
VARNAME="pmsl"
LEVEL=-1
JOB_NAME=$NCL_SCRIPT"_"$VARNAME"_"$LEVEL
......
......@@ -21,7 +21,7 @@ begin ; main
if( .not.isvar("level") ) then
level = -1
end if
years = ispan(1979,2017,1)
years = ispan(1979,2018,1)
if( level.gt.0 ) then
outVar = varName + level
else
......@@ -59,9 +59,8 @@ begin ; main
do yearCounter = 0, dimsizes(years)-1
currYear = years(yearCounter)
inPath = "http://ramadda.atmos.albany.edu:8080/repository/opendap/Top/" \
+ "UAlbany+Repository/CFSR/" + currYear + "/" + varName + "." \
+ currYear + ".0p5.anl.nc/entry.das.nc"
inPath = "http://thredds.atmos.albany.edu:8080/thredds/dodsC/CFSR/" \
+ currYear + "/" + varName + "." + currYear + ".0p5.anl.nc"
print_clock( "Reading " + currYear )
inFile = addfile(inPath,"r")
......@@ -72,6 +71,7 @@ begin ; main
end if
inData!1 = "lat"
inData!2 = "lon"
printMinMax(inData,True)
if( yearCounter.eq.0 ) then
filevarattdef( outFile, outVar, inData )
......@@ -82,6 +82,7 @@ begin ; main
+ inData(2::4,:,:) + inData(3::4,:,:) ) / 4
copy_VarMeta( inData(0::4,:,:), dailyData )
dailyData&time = cd_convert( dailyData&time, timeUnits )
printMinMax(dailyData,True)
regridData := area_conserve_remap_Wrap( dailyData&lon, dailyData&lat, \
dailyData, lon, lat, False )
......
......@@ -23,12 +23,12 @@ begin
; These are some parameters that could be useful to have up top
varName = "sst"
newFile = True
doCalcAnom = False
doCalcAnom = True
; basePath = "~/data/cfsr/monthly/" + varName
basePath = "~/data/oisst/oisst.month"
inPath = basePath + ".total.nc"
climPath = basePath + ".clim.1999.2010.nc"
climPath = basePath + ".clim.1981.2010.nc"
anomPath = basePath + ".anom.nc"
stdPath = basePath + ".std.nc"
......@@ -38,7 +38,7 @@ begin
; anomPath = basePath + varName + ".mon" + ".anom.nc"
; stdPath = basePath + varName + ".mon" + ".std.nc"
climStart = 1999001
climStart = 1981001
climEnd = 2010366
; Open the input files
......
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