Skip to content
Browse files

Added ensembles and variables for derives ensembles

  • Loading branch information...
1 parent e60f8b5 commit 961c45d6ff39a6848482c8ba71abe1a64714a2d2 @csarven committed Apr 1, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 scripts/create.rdf.climates.en.sh
View
6 scripts/create.rdf.climates.en.sh
@@ -6,16 +6,16 @@ basePath="/var/www/lib/worldbank-linkeddata/data/climates/" ;
pathToCountries="/var/www/lib/worldbank-linkeddata/data/indicators/en/countries.xml" ;
areas=(country basin) ;
-statstypes=(mavg annualavg manom annualanom month-average-historical year-average-historical decade-average-historical) ;
-variables=(pr tas) ;
+statstypes=(mavg annualavg manom annualanom month-average-historical year-average-historical decade-average-historical mavg-ensemble annualavg-ensemble manom-ensemble annualanom-ensemble mavg-ensemble-derived annualavg-ensemble-derived manom-ensemble-derived annualanom-ensemble-derived) ;
+variables=(pr tas tmin_means tmax_means tmax_days90th tmin_days90th tmax_days10th tmin_days10th tmin_days0 ppt_days ppt_days2 ppt_days10 ppt_days90th ppt_dryspell ppt_means) ;
for area in "${areas[@]}" ;
do
for statstype in "${statstypes[@]}" ;
do
for variable in "${variables[@]}" ;
do
- for file in "$basePath""$area"/"$statstype"/*."$variable".xml
+ ls -1 "$basePath""$area"/"$statstype"/*."$variable".xml | while read file ;
do
filename=$(basename $file);
extension=${filename##*.};

0 comments on commit 961c45d

Please sign in to comment.
Something went wrong with that request. Please try again.