Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | dirpng=$1 |
---|
4 | seas=$2 |
---|
5 | proj=$3 |
---|
6 | sim=$4 |
---|
7 | ref=$5 |
---|
8 | var=$6 |
---|
9 | |
---|
10 | din=${dirpng}/${seas}/$ref/MAP/${proj} |
---|
11 | cd ${din} |
---|
12 | convert ${var}.pdf ${var}.png |
---|
13 | convert -size 1500x1000 xc:white ${var}.png -geometry 1440x890+30+30 -composite -trim -gravity North ${var}.png |
---|
14 | |
---|
15 | din=${dirpng}/${seas}/${sim}/MAP/${proj} |
---|
16 | cd ${din} |
---|
17 | convert ${var}.pdf ${var}.png |
---|
18 | convert -size 1500x1000 xc:white ${var}.png -geometry 1440x890+30+30 -composite -trim -gravity North ${var}.png |
---|
19 | |
---|
20 | din=${dirpng}/${seas}/${sim}/DMAP_${ref}/${proj} |
---|
21 | cd ${din} |
---|
22 | convert ${var}.pdf ${var}.png |
---|
23 | convert -size 1500x1000 xc:white ${var}.png -geometry 1440x890+30+30 -composite -trim -gravity North ${var}.png |
---|
24 | |
---|
25 | exit |
---|
Note: See
TracBrowser
for help on using the repository browser.