-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #115 from bertinia/master
update to pyAverager, timeseries chunking and ocean hi-res NCL
- Loading branch information
Showing
13 changed files
with
225 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
#!/usr/bin/env python | ||
|
||
import os | ||
|
||
for year in ['0001','0002','0003','0004','0005','0006','0007','0008','0009','0010','0011','0012','0013','0014','0015']: | ||
for month in ['01','02','03','04','05','06','07','08','09','10','11','12']: | ||
|
||
srcdir = '/glade/p/cesm0005/archive/b.e20.B1850.f09_g17.pi_control.all.250/ocn/hist' | ||
linkdir = '/glade/scratch/aliceb/b.e20.B1850.f09_g17.pi_control.all.250/ocn/hist' | ||
|
||
if not os.path.exists(linkdir): | ||
os.makedirs(linkdir) | ||
|
||
casename = 'b.e20.B1850.f09_g17.pi_control.all.250.pop.h' | ||
filename = '{0}.{1}-{2}.nc'.format(casename,year,month) | ||
os.symlink(os.path.join(srcdir, filename), os.path.join(linkdir, filename)) | ||
|
||
|
||
for year in ['0001','0002','0003','0004','0005','0006','0007','0008','0009','0010','0011','0012','0013','0014','0015']: | ||
for month in ['01','02','03','04','05','06','07','08','09','10','11','12']: | ||
|
||
srcdir = '/glade/p/cesm0005/archive/b.e20.B1850.f09_g17.pi_control.all.250/ice/hist' | ||
linkdir = '/glade/scratch/aliceb/b.e20.B1850.f09_g17.pi_control.all.250/ice/hist' | ||
|
||
if not os.path.exists(linkdir): | ||
os.makedirs(linkdir) | ||
|
||
casename = 'b.e20.B1850.f09_g17.pi_control.all.250.cice.h' | ||
filename = '{0}.{1}-{2}.nc'.format(casename,year,month) | ||
os.symlink(os.path.join(srcdir, filename), os.path.join(linkdir, filename)) | ||
|
||
|
||
for year in ['0001','0002','0003','0004','0005','0006','0007','0008','0009','0010','0011','0012','0013','0014','0015']: | ||
for month in ['01','02','03','04','05','06','07','08','09','10','11','12']: | ||
|
||
srcdir = '/glade/p/cesm0005/archive/b.e20.B1850.f09_g17.pi_control.all.250/atm/hist' | ||
linkdir = '/glade/scratch/aliceb/b.e20.B1850.f09_g17.pi_control.all.250/atm/hist' | ||
|
||
if not os.path.exists(linkdir): | ||
os.makedirs(linkdir) | ||
|
||
casename = 'b.e20.B1850.f09_g17.pi_control.all.250.cam.h0' | ||
filename = '{0}.{1}-{2}.nc'.format(casename,year,month) | ||
os.symlink(os.path.join(srcdir, filename), os.path.join(linkdir, filename)) | ||
|
||
|
||
for year in ['0001','0002','0003','0004','0005','0006','0007','0008','0009','0010','0011','0012','0013','0014','0015']: | ||
for month in ['01','02','03','04','05','06','07','08','09','10','11','12']: | ||
|
||
srcdir = '/glade/p/cesm0005/archive/b.e20.B1850.f09_g17.pi_control.all.250/lnd/hist' | ||
linkdir = '/glade/scratch/aliceb/b.e20.B1850.f09_g17.pi_control.all.250/lnd/hist' | ||
|
||
if not os.path.exists(linkdir): | ||
os.makedirs(linkdir) | ||
|
||
casename = 'b.e20.B1850.f09_g17.pi_control.all.250.clm2.h0' | ||
filename = '{0}.{1}-{2}.nc'.format(casename,year,month) | ||
os.symlink(os.path.join(srcdir, filename), os.path.join(linkdir, filename)) | ||
|
||
|
||
for year in ['0001','0002','0003','0004','0005','0006','0007','0008','0009','0010','0011','0012','0013','0014','0015']: | ||
for month in ['01','02','03','04','05','06','07','08','09','10','11','12']: | ||
|
||
srcdir = '/glade/p/cesm0005/archive/b.e20.B1850.f09_g17.pi_control.all.250/rof/hist' | ||
linkdir = '/glade/scratch/aliceb/b.e20.B1850.f09_g17.pi_control.all.250/rof/hist' | ||
|
||
if not os.path.exists(linkdir): | ||
os.makedirs(linkdir) | ||
|
||
casename = 'b.e20.B1850.f09_g17.pi_control.all.250.mosart.h0' | ||
filename = '{0}.{1}-{2}.nc'.format(casename,year,month) | ||
os.symlink(os.path.join(srcdir, filename), os.path.join(linkdir, filename)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
October 26, 2017 | ||
December 13, 2017 | ||
|
||
====================================== | ||
|
||
|
@@ -9,7 +9,7 @@ PyAverager | |
A package used for computing averages from climate model output. | ||
|
||
Authors: Sheri Mickelson, Kevin Paul, and John Dennis | ||
Version: 0.9.12 | ||
Version: 0.9.14 | ||
Copyright: Contained within LICENSE.txt | ||
Comments and feedback: [email protected] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,5 @@ | |
|
||
import PyAverager, specification, PreProc | ||
|
||
__version__ = "0.9.12" | ||
__version__ = "0.9.14" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
from distutils.core import setup | ||
|
||
setup(name='PyAverager', | ||
version='0.9.12', | ||
version='0.9.14', | ||
description='Parallel Python Averager for Climate Data', | ||
author='Sheri Mickelson', | ||
author_email='[email protected]', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.