Skip to content

Commit 6a2a654

Browse files
committed
Update time window for post-processing
1 parent 609b0b9 commit 6a2a654

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

download-data-with-wget.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,7 @@ do
3030
wget -e robots=off -m -nv -np -R .html,.tmp,.csv,.json -nd --cut-dirs=2 \
3131
"https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/62/MCD06COSP_M3_MODIS/${yr}/" \
3232
--header "Authorization: Bearer ${EARTHDATA_TOKEN}" -P ${MODIS_DATA_CACHE_DIR}
33-
done
33+
done
34+
35+
# Clean up leftover files
36+
rm ${MODIS_DATA_CACHE_DIR}/[0-9][0-9][0-9]

process-local-data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#
1111
# Post-process the MODIS-COSP dataset described in
12-
# Pincus et al, 2022: Updated observations of clouds by MODIS for global model assessment
12+
# Pincus et al, 2023: Updated observations of clouds by MODIS for global model assessment
1313
# (https://crew.ldeo.columbia.edu/people/robert-pincus/)
1414
#
1515
# The original data come in netcdf4 files with one group per primary variables
@@ -22,7 +22,7 @@
2222
write_netcdf = True
2323
write_zarr = True
2424

25-
dates = pd.date_range("2002-07-01", "2022-05-01", freq="MS") # "MS" for "month start"
25+
dates = pd.date_range("2002-07-01", "2023-02-01", freq="MS") # "MS" for "month start"
2626
cacheDir = Path(os.environ['MODIS_DATA_CACHE_DIR'])
2727

2828
#

0 commit comments

Comments
 (0)