Commit f9578a29 authored by Carl Schreck's avatar Carl Schreck
Browse files

Changed ut_ to cd_ - Mon Jan 25 09:02:02 EST 2016

parent 2fd0b4ec
......@@ -13,7 +13,7 @@ load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
;load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
;load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/diagnostics_cam.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/contrib/time_axis_labels.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/contrib/ut_string.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/contrib/cd_string.ncl"
load "$CJS_NCL_LIB/print_clock.ncl"
load "$CJS_NCL_LIB/lib.ibtracs.ncl"
load "$CJS_NCL_LIB/lib.cjs_graphics.ncl"
......@@ -37,8 +37,8 @@ begin
centerLon = 180
timeUnits = "days since 1800-01-01 00:00:00"
minTime = ut_inv_calendar( 2014, 02, 18, 00, 0, 0, timeUnits, 0 )
maxTime = ut_inv_calendar( 2014, 05, 14, 00, 0, 0, timeUnits, 0 )
minTime = cd_inv_calendar( 2014, 02, 18, 00, 0, 0, timeUnits, 0 )
maxTime = cd_inv_calendar( 2014, 05, 14, 00, 0, 0, timeUnits, 0 )
shdPath = "/home/carl/data/olr/cdr/daily/v01r02_test/olr.anom.nc"
shdVar = "olr"
......@@ -51,8 +51,8 @@ begin
print_clock( "Reading the data" )
shdFile = addfile( shdPath, "r" )
minTime = ut_convert( minTime, shdFile->time@units )
maxTime = ut_convert( maxTime, shdFile->time@units )
minTime = cd_convert( minTime, shdFile->time@units )
maxTime = cd_convert( maxTime, shdFile->time@units )
shdData3d = shdFile->$shdVar$({tofloat(minTime):tofloat(maxTime)}, \
{minLat:maxLat},:)
shdData = dim_avg_n_Wrap( shdData3d, 1 )
......@@ -61,8 +61,8 @@ begin
if( drawContours ) then
cntFile = addfile( cntPath, "r" )
minTime = ut_convert( minTime, cntFile->time@units )
maxTime = ut_convert( maxTime, cntFile->time@units )
minTime = cd_convert( minTime, cntFile->time@units )
maxTime = cd_convert( maxTime, cntFile->time@units )
cntData3d = cntFile->$cntVar$({tofloat(minTime):tofloat(maxTime)}, \
{minLat:maxLat},:)
cntData = dim_avg_n_Wrap( cntData3d, 1 )
......
......@@ -13,7 +13,7 @@ load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
;load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
;load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
;load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/diagnostics_cam.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/contrib/ut_string.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/contrib/cd_string.ncl"
load "$CJS_NCL_LIB/kf_window.ncl"
load "$CJS_NCL_LIB/kf_curves.ncl"
load "$CJS_NCL_LIB/kf_outline.ncl"
......
......@@ -14,7 +14,7 @@ load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
;load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
;load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
;load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/diagnostics_cam.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/contrib/ut_string.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/contrib/cd_string.ncl"
load "~/lib/kf_window.ncl"
load "~/lib/kf_curves.ncl"
load "~/lib/kf_outline.ncl"
......
Supports Markdown
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