Commit 56d0445b authored by Carl Schreck's avatar Carl Schreck
Browse files

Reducing archive size

parent 30654d42
......@@ -52,7 +52,7 @@ begin ; main
plotName = "~/data/monitor/v2/scratch/map/" \
+ varLevName + "." + algoName + "." + waveName + "." + region + "." + nAvg
print( (/ plotName /) )
plotDpi = 200
plotDpi = 150
doubleKelvin = True
......@@ -463,7 +463,7 @@ begin ; main
print_clock( "Adding logo" )
cicsLogoPath = "/home/carl/monitor/v2/data/cics-logo.png"
system( "composite -gravity SouthWest -geometry 150x150+010+040 " \
system( "composite -gravity SouthWest -geometry 125x125+010+040 " \
+ cicsLogoPath + " " + plotPathFinal + " " + plotPathFinal )
print_clock( "Reducing File Size" )
system( "convert " + plotPathFinal + " -colors 256 " + plotPathFinal )
......
#!/bin/bash --login
date
cd /glfs0/www-pub/mjo/archive/2021
dirNames=`ls -d *`
for currDir in $dirNames
do
echo $currDir
cp /glfs0/www-pub/mjo/v2/archive.html $currDir/v2/index.html
for del_string in indonesia atlantic notc mtd
do
echo $del_string
rm -f $currDir/v2/map/*$del_string*
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