Skip to content

Commit 83b6a0c

Browse files
Adding MRCC5-CMIP6 dataset (#67)
* Adding untested script for the Ourano MRCC5-CMIP6 dataset * Polishing up * Resolving a bug missing files for time adjustment ncap2 script * Polishing up * Renaming iterative variables for consistency and taking care of dates for various scenarios * Documentation for the MRCC5-CMIP6 dataset * Optimizing parallelization scheme for MRCC5-CMIP6 * Updating with MRCC5-CMIP6 link
1 parent 3bdaca0 commit 83b6a0c

File tree

5 files changed

+226
-272
lines changed

5 files changed

+226
-272
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Script options:
5252
|7 |ORNL Daymet |Daily (Jan 1980 - Dec 2022)[^3] |10.3334/ORNLDAAC/2129 |[link](./scripts/ornl-daymet) |
5353
|8 |Alberta Gov Climate Dataset|Daily (Jan 1950 - Dec 2100) |10.5194/hess-23-5151-201 |[link](./scripts/ab-gov) |
5454
|9 |Ouranos ESPO-G6-R2 |Daily (Jan 1950 - Dec 2100) |10.1038/s41597-023-02855-z|[link](./scripts/ouranos-espo-g6-r2) |
55-
|10|Ouranos MRCC5-CMIP6 |hourly (Jan 1950 - Dec 2100) |TBD |link |
55+
|10|Ouranos MRCC5-CMIP6 |hourly (Jan 1950 - Dec 2100) |TBD |[link](./scripts/ouranos-mrcc5-cmip6)|
5656
|11|NASA NEX-GDDP-CMIP6 |Daily (Jan 1950 - Dec 2100) |10.1038/s41597-022-01393-4|[link](./scripts/nasa-nex-gddp-cmip6)|
5757

5858
[^1]: For access to the files on Graham cluster, please contact [Stephen O'Hearn](mailto:[email protected]).

extract-dataset.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -565,18 +565,18 @@ case "${dataset,,}" in
565565

566566
# Ouranos-MRCC5-CMIP6 dataset
567567
"crcm5-cmip6" | "mrcc5-cmip6" | "crcm5" | "mrcc5" )
568-
call_processing_func "$scriptPath/ouranos-mrcc5-cmip6/mrcc5-cmip6.sh" "1years"
568+
call_processing_func "$scriptPath/ouranos-mrcc5-cmip6/mrcc5-cmip6.sh" "20years"
569569
;;
570570

571571
# Alberta Government Downscaled Climate Dataset - CMIP6
572572
"alberta" | "ab-gov" | "ab" | "ab_gov" | "abgov" )
573573
call_processing_func "$scriptPath/ab-gov/ab-gov.sh" "151years" "0"
574-
;;
574+
;;
575575

576576
# NASA GDDP-NEX-CMIP6
577577
"gddp" | "nex" | "gddp-nex" | "nex-gddp" | "gddp-nex-cmip6" | "nex-gddp-cmip6")
578578
call_processing_func "$scriptPath/nasa-nex-gddp-cmip6/nex-gddp-cmip6.sh" "100years" "0"
579-
;;
579+
;;
580580

581581
# CanRCM4-WFDEI-GEM-CaPA
582582
"canrcm4_g" | "canrcm4-wfdei-gem-capa" | "canrcm4_wfdei_gem_capa")

scripts/ouranos-espo-g6-r2/espo-g6-r2.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ short_usage() {
4141

4242

4343
# argument parsing using getopt - WORKS ONLY ON LINUX BY DEFAULT
44-
parsedArguments=$(getopt -a -n extract-dataset -o i:v:o:s:e:t:l:n:p:c:m:S:M: --long dataset-dir:,variable:,output-dir:,start-date:,end-date:,time-scale:,lat-lims:,lon-lims:,prefix:,cache:,ensemble:,scenario:,model: -- "$@")
44+
parsedArguments=$(getopt -a -n espo-g6-r2 -o i:v:o:s:e:t:l:n:p:c:m:S:M: --long dataset-dir:,variable:,output-dir:,start-date:,end-date:,time-scale:,lat-lims:,lon-lims:,prefix:,cache:,ensemble:,scenario:,model: -- "$@")
4545
validArguments=$?
4646
if [ "$validArguments" != "0" ]; then
4747
short_usage;

0 commit comments

Comments
 (0)