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

Switching to 1991-2020 climatology

parent 56d0445b
......@@ -14,7 +14,7 @@ cp -f /glfs0/www-pub/mjo/archive/$yearstring/$datestring/v2/archive.html \
# /var/www/monitor/mjo/archive/v2/$yearstring/$datestring
for del_string in indonesia atlantic notc mtd
for del_string in indonesia atlantic notc mtd .2.
do
rm -f /glfs0/www-pub/mjo/archive/$yearstring/$datestring/v2/map/*$del_string*
done
......
......@@ -174,11 +174,11 @@ begin
+ ".clim.1999.2010.nc"
clim99File = addfile( clim99Path, "r" )
clim99Data = clim99File->$climVar$(:,{minLat:maxLat},:)
clim81Path = "/home/carl/data/monitor/v2/clim/change_climo/" + climVar \
+ ".clim.1981.2010.nc"
clim81File = addfile( clim81Path, "r" )
clim81Data = clim81File->$climVar$(:,{minLat:maxLat},:)
filtData = change_clim( filtData, clim99Data, clim81Data )
clim91Path = "/home/carl/data/monitor/v2/clim/change_climo/" + climVar \
+ ".clim.1991.2020.nc"
clim91File = addfile( clim91Path, "r" )
clim91Data = clim91File->$climVar$(:,{minLat:maxLat},:)
filtData = change_clim( filtData, clim99Data, clim91Data )
end if
......
......@@ -106,11 +106,11 @@ begin
+ "oisst.clim.1999.2010.nc"
clim99File = addfile( clim99Path, "r" )
clim99Data = clim99File->$varName$
clim81Path = "/home/carl/data/monitor/v2/clim/change_climo/" \
+ "oisst.clim.1981.2010.nc"
clim81File = addfile( clim81Path, "r" )
clim81Data = clim81File->$varName$
cfsData = change_clim( cfsData, clim99Data, clim81Data )
clim91Path = "/home/carl/data/monitor/v2/clim/change_climo/" \
+ "oisst.clim.1991.2020.nc"
clim91File = addfile( clim91Path, "r" )
clim91Data = clim91File->$varName$
cfsData = change_clim( cfsData, clim99Data, clim91Data )
end if
outData({cfsData&time},:,:) = (/ copy_Gridding( obsData, cfsData ) /)
......
......@@ -15,12 +15,12 @@ NCL_DIR=`pwd`
LOG_DIR=$NCL_DIR/log
mkdir -p $LOG_DIR
for varName in chi psi uwnd vwnd
#for varName in pwat uShear vShear shear
#for varName in chi psi uwnd vwnd
for varName in pwat uShear vShear shear
#for varName in pwat
do
for level in 850 200
# for level in ""
# for level in 850 200
for level in ""
do
JOB_NAME=$NCL_SCRIPT"_"$varName"_"$level
......
......@@ -18,7 +18,7 @@ begin ; main
varName = "uwnd"
end if
if( .not.isvar( "level" ) ) then
level = "850"
level = ""
end if
varLevName = varName + level
......
#!/bin/bash --login
date
cd /glfs0/www-pub/mjo/archive/2021
cd /glfs0/www-pub/mjo/archive/2019
dirNames=`ls -d *`
for currDir in $dirNames
......@@ -10,7 +10,7 @@ do
echo $currDir
cp /glfs0/www-pub/mjo/v2/archive.html $currDir/v2/index.html
for del_string in indonesia atlantic notc mtd
for del_string in indonesia atlantic notc mtd .2.
do
echo $del_string
rm -f $currDir/v2/map/*$del_string*
......
#!/bin/bash --login
date
for year in 2019 2020 2021
do
cd /glfs0/www-pub/mjo/archive/$year
dirNames=`ls -d *`
for currDir in $dirNames
do
echo $currDir
cp /glfs0/www-pub/mjo/v2/archive2.js $currDir/v2/
done
done
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