Skip to content

Commit

Permalink
Updated for new release - 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
durack1 committed Oct 25, 2016
1 parent b025733 commit 1e36a89
Show file tree
Hide file tree
Showing 21 changed files with 67 additions and 3,076 deletions.
10 changes: 5 additions & 5 deletions CMOR/drive_input4MIPs_bcs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"calendar": "gregorian",
"data_structure": "grid",
"dataset_category": "SSTsAndSeaIce",
"dataset_version_number": "1.1.0a",
"dataset_version_number": "1.1.1",
"frequency": "mon",
"grid": "1x1 degree latitude x longitude",
"grid_label": "gn",
Expand All @@ -14,15 +14,15 @@
"realm": "ocean",
"target_mip": "CMIP",

"comment": "Based on Hurrell SST/sea ice consistency criteria applied to merged HadISST (1870-01 1981-10) & NCEP-0I2 (1981-11 to 2015-12)",
"comment": "Based on Hurrell SST/sea ice consistency criteria applied to merged HadISST (1870-01 1981-10) & NCEP-0I2 (1981-11 to 2016-06)",
"contact ": "PCMDI ([email protected])",
"further_info_url": "http://www-pcmdi.llnl.gov/projects/amip/AMIP2EXPDSN/BCS/amip2bcs.php",
"institution_id": "PCMDI",
"institution": "Program for Climate Model Diagnosis and Intercomparison (LLNL), Livermore, CA, USA",
"references": "Taylor, K.E., D. Williamson and F. Zwiers, 2000: The sea surface temperature and sea ice concentration boundary conditions for AMIP II simulations. PCMDI Report 60, Program for Climate Model Diagnosis and Intercomparison, Lawrence Livermore National Laboratory, 25 pp. Available online: http://www-pcmdi.llnl.gov/publications/pdf/60.pdf",
"source": "PCMDI-AMIP 1.1.0a: Merged SST based on UK MetOffice HadISST and NCEP OI2",
"source_id": "PCMDI-AMIP-1-1-0a",
"title": "PCMDI-AMIP 1.1.0a dataset prepared for input4MIPs",
"source": "PCMDI-AMIP 1.1.1: Merged SST based on UK MetOffice HadISST and NCEP OI2",
"source_id": "PCMDI-AMIP-1-1-1",
"title": "PCMDI-AMIP 1.1.1 dataset prepared for input4MIPs",

"outpath": ".",
"output_path_template": "<mip_era><activity_id><institution_id><dataset_category><target_mip><frequency><realm><source_id><variable_id><grid_label><version>",
Expand Down
10 changes: 5 additions & 5 deletions CMOR/drive_input4MIPs_obs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"calendar": "gregorian",
"data_structure": "grid",
"dataset_category": "SSTsAndSeaIce",
"dataset_version_number": "1.1.0a",
"dataset_version_number": "1.1.1",
"frequency": "mon",
"grid": "1x1 degree latitude x longitude",
"grid_label": "gn",
Expand All @@ -14,15 +14,15 @@
"realm": "ocean",
"target_mip": "CMIP",

"comment": "Based on Hurrell SST/sea ice consistency criteria applied to merged HadISST (1870-01 1981-10) & NCEP-0I2 (1981-11 to 2015-12)",
"comment": "Based on Hurrell SST/sea ice consistency criteria applied to merged HadISST (1870-01 1981-10) & NCEP-0I2 (1981-11 to 2016-06)",
"contact ": "PCMDI ([email protected])",
"further_info_url": "http://www-pcmdi.llnl.gov/projects/amip/AMIP2EXPDSN/BCS/amip2bcs.php",
"institution_id": "PCMDI",
"institution": "Program for Climate Model Diagnosis and Intercomparison (LLNL), Livermore, CA, USA",
"references": "Taylor, K.E., D. Williamson and F. Zwiers, 2000: The sea surface temperature and sea ice concentration boundary conditions for AMIP II simulations. PCMDI Report 60, Program for Climate Model Diagnosis and Intercomparison, Lawrence Livermore National Laboratory, 25 pp. Available online: http://www-pcmdi.llnl.gov/publications/pdf/60.pdf",
"source": "PCMDI-AMIP 1.1.0a: Merged SST based on UK MetOffice HadISST and NCEP OI2",
"source_id": "PCMDI-AMIP-1-1-0a",
"title": "PCMDI-AMIP 1.1.0a dataset prepared for input4MIPs",
"source": "PCMDI-AMIP 1.1.1: Merged SST based on UK MetOffice HadISST and NCEP OI2",
"source_id": "PCMDI-AMIP-1-1-1",
"title": "PCMDI-AMIP 1.1.1 dataset prepared for input4MIPs",

"outpath": ".",
"output_path_template": "<mip_era><activity_id><institution_id><dataset_category><target_mip><frequency><realm><source_id><variable_id><grid_label><version>",
Expand Down
27 changes: 16 additions & 11 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
Thu 08 Sep 2016 09:29:11 AM PDT
Tue 25 Oct 2016 11:49:48 AM PDT

The following documents the steps to update the boundary conditions:

1. Install Anaconda
> Visit https://www.continuum.io/downloads and follow the prompts for your OS

2. Install UVCDAT with cd77 (ezget/lats/drs support), CMOR3 and the input4MIPS-cmor-tables
[durack1@oceanonly ~]$ conda create -n uvcdat -c uvcdat/label/nightly -c uvcdat --show-channel-urls uvcdat cd77
[durack1@oceanonly ~]$ conda create -n uvcdat -c uvcdat --show-channel-urls uvcdat cd77
[durack1@oceanonly ~]$ conda create -n cmor -c pcmdi cmor -c uvcdat
[durack1@oceanonly 150219_AMIPForcingData/CMOR]$ git clone https://github.com/PCMDI/input4MIPs-cmor-tables

3. Copy the previous directory
[durack1@oceanonly 150219_AMIPForcingData]$ cp -R SST_NEW5 SST_1-1-0a
[durack1@oceanonly 150219_AMIPForcingData]$ cp -R SST_NEW5 SST_1-1-1

4. Purge generated files
[durack1@oceanonly SST_1-1-0a]$ rm -f 160526*.* MODEL.*.nc download.sh~ SSTICE.Update.unf.csh~
[durack1@oceanonly SST_1-1-1]$ rm -f 160526*.* MODEL.*.nc download.sh~ SSTICE.Update.unf.csh~

5. Edit script files
> download.sh
Expand All @@ -31,23 +31,24 @@ The following documents the steps to update the boundary conditions:

8. Compile
> This step requires an Anaconda installation with UVCDAT (and cd77 support) and gfortran installed
[durack1@oceanonly SST_1-1-0a]$ bash
[durack1@oceanonly SST_1-1-1]$ bash
c durack1@oceanonly:[SST_1-1-0a]:[215]> source activate uvcdat
c (uvcdat)durack1@oceanonly:[SST_1-1-0a]:[215]> which cd77
c (uvcdat)durack1@oceanonly:[SST_1-1-1]:[215]> which cd77
c /export/durack1/anaconda2/envs/uvcdat/bin/cd77
c (uvcdat)durack1@oceanonly:[150219_AMIPForcingData]:[203]> export LD_LIBRARY_PATH=/export/durack1/anaconda2/envs/uvcdat/lib
c (uvcdat)durack1@oceanonly:[150219_AMIPForcingData]:[203]> echo $LD_LIBRARY_PATH
c /export/durack1/anaconda2/envs/uvcdat/lib
c (uvcdat)durack1@oceanonly:[150219_AMIPForcingData]:[205]> cd77 -ezget -lats -cdms -fcray-pointer mkhurrell1.f -o mkhurrell1
c (uvcdat)durack1@oceanonly:[150219_AMIPForcingData]:[204]> rm -rf 360x180_v1.1.0a/*
c (uvcdat)durack1@oceanonly:[150219_AMIPForcingData]:[204]> mkdir 360x180_v1.1.1/*
c (uvcdat)durack1@oceanonly:[150219_AMIPForcingData]:[204]> rm -rf 360x180_v1.1.1/* ; # Purge contents if directory exists

9. Edit sanitize script
> sanitize.py
> Be aware of complete vs partial years with calendar creation

10. Load cmor environment and run
[durack1@oceanonly SST_1-1-0a]$ bash
c durack1@oceanonly:[SST_1-1-0a]:[215]> source activate cmor
[durack1@oceanonly SST_1-1-1]$ bash
c durack1@oceanonly:[SST_1-1-1]:[215]> source activate cmor
c (cmor)durack1@oceanonly:[150219_AMIPForcingData]:[203]> sanitize.py

11. Validate data against previously published version - edit validation script
Expand All @@ -67,12 +68,16 @@ c (cmor)durack1@oceanonly:[150219_AMIPForcingData]:[203]> sanitize.py
> rsync -vrut /work/durack1/Shared/150219_AMIPForcingData/*.f .
> rsync -vrut /work/durack1/Shared/150219_AMIPForcingData/ketgrib.parms .
> rsync -vrut /work/durack1/Shared/150219_AMIPForcingData/*.py .
> rsync -vrut /work/durack1/Shared/150219_AMIPForcingData/*.txt .
# Update CMOR info
> rsync -vrut /work/durack1/Shared/150219_AMIPForcingData/CMOR/ CMOR/
# Update data contributed (*.nc files are not hosted in git - .gitignore)
> #rm -rf SST_NEW5 ; # Purge local dir (if offical release replaces it)
> rsync -vrut /work/durack1/Shared/150219_AMIPForcingData/SST_1-1-0a . ; # Copy remote dir
> rsync -vrut /work/durack1/Shared/150219_AMIPForcingData/SST_1-1-1 . ; # Copy remote dir
# Update this file once everything is updated
> rsync -vrut /work/durack1/Shared/150219_AMIPForcingData/*.txt .
# Commit version
> git commit -am 'Updated for new release - 1.1.x'
> git push

16. Push data to crunchy for ESGF publication
[durack1@oceanonly 150219_AMIPForcingData]$ rsync -vrutan --exclude="PCMDI-AMIP-1-1-0a" CMIP6 crunchy:/work/durack1/Shared/160427_CMIP6_Forcing/
26 changes: 0 additions & 26 deletions SST_1-1-0a/160906_log.txt

This file was deleted.

Loading

0 comments on commit 1e36a89

Please sign in to comment.