-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
78701d1
commit 96535ab
Showing
2 changed files
with
31 additions
and
0 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,23 @@ | ||
|
||
from pyremo.file_conventions import REMO_2015_TAPE_ARCHIVE, REMO_2015_DISK_ARCHIVE | ||
from pyremo.data_handler import DataHandler | ||
|
||
# define experiment id for file conventions | ||
expid = '061074' | ||
|
||
# path to hpss tape archive | ||
tape_path = '/hpss/arch/ch0636/CORDEX/CORE-ATLAS/remo/exp061074' | ||
# path to disk archive | ||
disk_path = '/work/ch0636/g300046/remo_results_061074' | ||
|
||
|
||
conv = REMO_2015_DISK_ARCHIVE() | ||
|
||
print(conv.known_types) | ||
|
||
arch_filenames = conv.get_archive_filenames(expid, types=['mfiles']) | ||
#filenames = conv.get_filenames(expid,types=['efiles','pfiles']) | ||
|
||
print(arch_filenames) | ||
#print(filenames) | ||
#print(filenames) |
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,8 @@ | ||
|
||
|
||
from pyremo import remo_ds as rds | ||
|
||
|
||
filename = "../../tests/data/e056111t2006010100" | ||
|
||
ds = rds.open_remo_dataset(filename, update_meta=True, parse_dates=True) |