Skip to content

Commit

Permalink
feat(dataset): update aerosol to v4.3 (#800)
Browse files Browse the repository at this point in the history
  • Loading branch information
pwambach committed Dec 14, 2020
1 parent 0fc2281 commit 961e0aa
Show file tree
Hide file tree
Showing 20 changed files with 42 additions and 22 deletions.
7 changes: 4 additions & 3 deletions data/downloads/odp-ftp-aerosol.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env bash

BASE_URL="ftp://anon-ftp.ceda.ac.uk/neodc/esacci/aerosol/data/AATSR_SU/L3/v4.21/MONTHLY/"
START_DATE=2002-07-01
VERSION="4.3"
BASE_URL="ftp://anon-ftp.ceda.ac.uk/neodc/esacci/aerosol/data/AATSR_SU/L3/v$VERSION/MONTHLY/"
START_DATE=2012-01-01
OUTPUT_FODLER=./download/aerosol

mkdir -p $OUTPUT_FODLER
Expand All @@ -12,7 +13,7 @@ do
NEXT_MONTH=$(date +%Y%m -d "$START_DATE + $i month")
NEXT_DATE=$(date +%Y-%m-%d -d "$START_DATE + $i month")
FILENAME=$OUTPUT_FODLER/$(date +%Y%m%d -d "$START_DATE + $i month").nc
FTP_URL=$BASE_URL$NEXT_YEAR/$NEXT_MONTH-ESACCI-L3C_AEROSOL-AER_PRODUCTS-AATSR_ENVISAT-SU_MONTHLY-v4.21.nc
FTP_URL=$BASE_URL$NEXT_YEAR/$NEXT_MONTH-ESACCI-L3C_AEROSOL-AER_PRODUCTS-AATSR_ENVISAT-SU_MONTHLY-v$VERSION.nc
echo $FTP_URL

curl --silent $FTP_URL > $FILENAME
Expand Down
3 changes: 2 additions & 1 deletion data/triggers/aerosol_aod550_mean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ if [ ! -f ./package.json ]; then
fi

# --machine-type=$MACHINE_TYPE \
gcloud builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LAYER_TYPE=$LAYER_TYPE,_LON_RES=$LON_RES,_LAT_RES=$LAT_RES,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT \
.
3 changes: 2 additions & 1 deletion data/triggers/biomass_agb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ if [ ! -f ./package.json ]; then
exit 1
fi

gcloud builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--machine-type=$MACHINE_TYPE \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LAYER_TYPE=$LAYER_TYPE,_LON_RES=$LON_RES,_LAT_RES=$LAT_RES,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT \
Expand Down
3 changes: 2 additions & 1 deletion data/triggers/cloud_cfc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ if [ ! -f ./package.json ]; then
fi

# --machine-type=$MACHINE_TYPE \
gcloud builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LAYER_TYPE=$LAYER_TYPE,_LON_RES=$LON_RES,_LAT_RES=$LAT_RES,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT \
.
3 changes: 2 additions & 1 deletion data/triggers/fire_burned_area.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ if [ ! -f ./package.json ]; then
fi

# --machine-type=$MACHINE_TYPE \
gcloud builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LAYER_TYPE=$LAYER_TYPE,_LON_RES=$LON_RES,_LAT_RES=$LAT_RES,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT \
.
3 changes: 2 additions & 1 deletion data/triggers/greenland_ice_sec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ if [ ! -f ./package.json ]; then
exit 1
fi

gcloud builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LAYER_TYPE=$LAYER_TYPE,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT \
.
3 changes: 2 additions & 1 deletion data/triggers/lakes_chla_mean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ if [ ! -f ./package.json ]; then
exit 1
fi

gcloud builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--machine-type=$MACHINE_TYPE \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LAYER_TYPE=$LAYER_TYPE,_LON_RES=$LON_RES,_LAT_RES=$LAT_RES,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT \
Expand Down
3 changes: 2 additions & 1 deletion data/triggers/lakes_lake_surface_water_temperature.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ if [ ! -f ./package.json ]; then
exit 1
fi

gcloud builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--machine-type=$MACHINE_TYPE \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LAYER_TYPE=$LAYER_TYPE,_LON_RES=$LON_RES,_LAT_RES=$LAT_RES,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT \
Expand Down
3 changes: 2 additions & 1 deletion data/triggers/land_cover_lccs_class.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ if [ ! -f ./package.json ]; then
exit 1
fi

gcloud builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--machine-type=$MACHINE_TYPE \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LAYER_TYPE=$LAYER_TYPE,_LON_RES=$LON_RES,_LAT_RES=$LAT_RES,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT \
Expand Down
3 changes: 2 additions & 1 deletion data/triggers/oc_chlor_a.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ if [ ! -f ./package.json ]; then
exit 1
fi

gcloud builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--machine-type=$MACHINE_TYPE \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LAYER_TYPE=$LAYER_TYPE,_LON_RES=$LON_RES,_LAT_RES=$LAT_RES,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT \
Expand Down
3 changes: 2 additions & 1 deletion data/triggers/ozone_total_ozone_column.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ if [ ! -f ./package.json ]; then
exit 1
fi

gcloud --project esa-climate-from-space builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LON_RES=$LON_RES,_LAT_RES=$LAT_RES,_LAYER_TYPE=$LAYER_TYPE,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT \
.
3 changes: 2 additions & 1 deletion data/triggers/sea_ice_nh_ice_conc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ if [ ! -f ./package.json ]; then
fi

# --machine-type=$MACHINE_TYPE \
gcloud builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LAYER_TYPE=$LAYER_TYPE,_LON_RES=$LON_RES,_LAT_RES=$LAT_RES,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT \
.
3 changes: 2 additions & 1 deletion data/triggers/sea_ice_sh_ice_conc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ if [ ! -f ./package.json ]; then
fi

# --machine-type=$MACHINE_TYPE \
gcloud builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LAYER_TYPE=$LAYER_TYPE,_LON_RES=$LON_RES,_LAT_RES=$LAT_RES,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT \
.
3 changes: 2 additions & 1 deletion data/triggers/sea_level_sla.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ if [ ! -f ./package.json ]; then
exit 1
fi

gcloud builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LAYER_TYPE=$LAYER_TYPE,_LON_RES=$LON_RES,_LAT_RES=$LAT_RES,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT \
.
3 changes: 2 additions & 1 deletion data/triggers/sea_state_swh_mean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ if [ ! -f ./package.json ]; then
fi

# --machine-type=$MACHINE_TYPE \
gcloud builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LAYER_TYPE=$LAYER_TYPE,_LON_RES=$LON_RES,_LAT_RES=$LAT_RES,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT \
.
3 changes: 2 additions & 1 deletion data/triggers/sea_surface_salinity_sss.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ if [ ! -f ./package.json ]; then
exit 1
fi

gcloud builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LAYER_TYPE=$LAYER_TYPE,_LON_RES=$LON_RES,_LAT_RES=$LAT_RES,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT,_SOURCE_PROJECTION=$SOURCE_PROJECTION,_SOURCE_BOUNDS=$SOURCE_BOUNDS,_SOURCE_MIN_X=$SOURCE_MIN_X,_SOURCE_MAX_X=$SOURCE_MAX_X,_SOURCE_MIN_Y=$SOURCE_MIN_Y,_SOURCE_MAX_Y=$SOURCE_MAX_Y \
.
3 changes: 2 additions & 1 deletion data/triggers/snow_swe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ if [ ! -f ./package.json ]; then
exit 1
fi

gcloud builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LAYER_TYPE=$LAYER_TYPE,_LON_RES=$LON_RES,_LAT_RES=$LAT_RES,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT \
.
3 changes: 2 additions & 1 deletion data/triggers/soil_moisture_anomaly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ if [ ! -f ./package.json ]; then
exit 1
fi

gcloud builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LAYER_TYPE=$LAYER_TYPE,_LON_RES=$LON_RES,_LAT_RES=$LAT_RES,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT \
.
3 changes: 2 additions & 1 deletion data/triggers/soil_moisture_sm_mean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ if [ ! -f ./package.json ]; then
exit 1
fi

gcloud builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LAYER_TYPE=$LAYER_TYPE,_LON_RES=$LON_RES,_LAT_RES=$LAT_RES,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT \
.
3 changes: 2 additions & 1 deletion data/triggers/sst_analysed_sst.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ if [ ! -f ./package.json ]; then
exit 1
fi

gcloud builds submit --config ./ci/cloudbuild-tiles-reproject.yaml \
gcloud --project esa-climate-from-space builds submit \
--config ./ci/cloudbuild-tiles-reproject.yaml \
--machine-type=$MACHINE_TYPE \
--timeout=$TIMEOUT \
--substitutions _LAYER_ID=$LAYER_ID,_VARIABLE_ID=$VARIABLE_ID,_ZOOM_LEVELS=$ZOOM_LEVELS,_LAYER_TYPE=$LAYER_TYPE,_LON_RES=$LON_RES,_LAT_RES=$LAT_RES,_VERSION=$VERSION,_MIN=$MIN,_MAX=$MAX,_MIN_LON=$MIN_LON,_MAX_LON=$MAX_LON,_MIN_LAT=$MIN_LAT,_MAX_LAT=$MAX_LAT \
Expand Down

0 comments on commit 961e0aa

Please sign in to comment.