Revision 52ae84b1
Added by Adam Wilson over 11 years ago
climate/procedures/Pleiades_MOD35.R | ||
---|---|---|
86 | 86 |
proclist=expand.grid(date=alldates,tile=tiles) |
87 | 87 |
proclist$year=substr(proclist$date,1,4) |
88 | 88 |
|
89 |
## identify tile-dates with no available swaths |
|
89 |
## identify tile-dates with no available swaths
|
|
90 | 90 |
avail=unique(cbind.data.frame(tile=fs$tile,date=fs$dateid)[fs$exists, ]) |
91 | 91 |
proclist$avail=paste(proclist$tile,proclist$date,sep="_")%in%paste(avail$tile,avail$date,sep="_") |
92 | 92 |
|
... | ... | |
119 | 119 |
### qsub script |
120 | 120 |
cat(paste(" |
121 | 121 |
#PBS -S /bin/bash |
122 |
##PBS -l select=1:ncpus=8:mpiprocs=8
|
|
123 |
#PBS -l select=100:ncpus=8:mpiprocs=8 |
|
124 |
#PBS -l walltime=8:00:00 |
|
125 |
##PBS -l walltime=2:00:00
|
|
122 |
#PBS -l select=20:ncpus=8:mpiprocs=8
|
|
123 |
##PBS -l select=100:ncpus=8:mpiprocs=8
|
|
124 |
##PBS -l walltime=8:00:00
|
|
125 |
#PBS -l walltime=4:00:00
|
|
126 | 126 |
#PBS -j n |
127 | 127 |
#PBS -m be |
128 | 128 |
#PBS -N mod35 |
... | ... | |
130 | 130 |
##PBS -q devel |
131 | 131 |
#PBS -V |
132 | 132 |
|
133 |
CORES=800 |
|
134 |
#CORES=160
|
|
133 |
#CORES=800
|
|
134 |
CORES=160 |
|
135 | 135 |
|
136 | 136 |
HDIR=/u/armichae/pr/ |
137 | 137 |
source $HDIR/etc/environ.sh |
climate/procedures/UpdateCovar.sh | ||
---|---|---|
1 |
## simple script to upload data from various places such as acrobates (YALE) and atlas (NCEAS) to pleiades for interpolation project |
|
2 |
|
|
3 |
## Set working directory |
|
4 |
cd /nobackupp1/awilso10/interp/covar/ |
|
5 |
|
|
6 |
## get distance to coast |
|
7 |
wget http://oceancolor.gsfc.nasa.gov/DOCS/DistFromCoast/GMT_intermediate_coast_distance_01d.zip |
|
8 |
unzip GMT_intermediate_coast_distance_01d.zip |
|
9 |
|
|
10 |
## topographical variables |
|
11 |
mkdir topo |
|
12 |
scp adamw@acrobates.eeb.yale.edu:/data2/dem_variables/altitude/median/altitude_median.tif topo/ |
|
13 |
scp adamw@acrobates.eeb.yale.edu:/data2/dem_variables/slope/median/slope_median.tif topo/ |
|
14 |
scp adamw@acrobates.eeb.yale.edu:/data2/dem_variables/aspect/median/aspect_median_*.tif topo |
|
15 |
|
|
16 |
## consensus landcover |
|
17 |
mkdir landcover |
|
18 |
scp adamw@acrobates.eeb.yale.edu:/data/jetzlab/Data/environ/global/landcover/Consensus_new/Layers/*.tif landcover/ |
Also available in: Unified diff
Adding script to upload covariate data to Pleiades