forked from NOAA-GFDL/fre-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_call.sh
More file actions
103 lines (85 loc) · 3.9 KB
/
test_call.sh
File metadata and controls
103 lines (85 loc) · 3.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#!/bin/bash
### prototype yaml writer
## peeks at the dataset and whats available
## forms variable lists based on that and a table target
## writes ESM45xml/yaml_workflow/esm45-v14/test_cmor_yaml_writer_output.yaml
#python quick_script.py
#fre -v cmor config \
#fre -v -v cmor config \
# --pp_dir /work/inl/CMIP7/ESM4/DECK/ESM4.5-picontrol/gfdl.ncrc6-intel25-prod-openmp/pp \
# --mip_tables_dir /home/$USER/Working/fre-cli/fre/tests/test_files/cmip7-cmor-tables/tables \
# --mip_era cmip7 \
# --exp_config /home/inl/Working/fre-cli/fre/tests/test_files/CMOR_CMIP7_input_example.json \
# --output_dir /net2/$USER/Working/fre-cli/ESM45xml/test_cmor_output \
# --varlist_dir /home/$USER/Working/fre-cli/test_variable_lists \
# --freq monthly \
# --chunk 5yr \
# --grid g99 \
# --overwrite \
# --calendar noleap \
# --output_yaml /home/inl/Working/ESM45xml/yaml_workflow/esm45-v14/test_cmor_yaml_writer_prototype.yaml
# some calls from yaml development for ESM45xml, can generate them with:
fre -v -v cmor yaml \
-e ESM4.5-picontrol \
-p gfdl.ncrc6-intel25 \
-t prod-openmp \
-y /home/inl/Working/ESM45xml/yaml_workflow/esm45-v14/ESM4.5v14.yaml #\
# --run_one #\
# --dry_run
## ocean_monthly / ts
## variable wfo errors because the ocean_statics file doesn't have the right shape (i.e., number of center/corner lat/lon coordinates in native grid
#fre -v -v cmor run \
# --indir /archive/oar.gfdl.bgrp-account/CMIP7/ESM4/DECK/ESM4.5-picontrol/gfdl.ncrc6-intel25-prod-openmp/pp/ocean_monthly/ts/monthly/5yr \
# --varlist /home/inl/Working/ESM45xml/yaml_workflow/esm45-v14/ocean_monthly_varlist.list \
# --table_config /home/Ian.Laflotte/Working/fre-cli/fre/tests/test_files/cmip7-cmor-tables/tables/CMIP7_ocean.json \
# --exp_config /home/Ian.Laflotte/Working/fre-cli/fre/tests/test_files/CMOR_CMIP7_input_example.json \
# --outdir /home/Ian.Laflotte/Working/fre-cli/ESM45xml/test_cmor_output \
# --run_one \
# --grid_desc "placeholder grid label for CMIP7, not for publishing" \
# --grid_label g99 \
# --nom_res "10000 km" \
# --start 0001 \
# --stop 0005 \
# --calendar noleap
## cean_monthly_z_1x1deg / ts
## variable doesnt have vertical bounds, so won't work
#fre -v -v cmor run \
# --indir /archive/oar.gfdl.bgrp-account/CMIP7/ESM4/DECK/ESM4.5-picontrol/gfdl.ncrc6-intel25-prod-openmp/pp/ocean_monthly_z_1x1deg/ts/monthly/5yr \
# --varlist /home/inl/Working/ESM45xml/yaml_workflow/esm45-v14/ocean_monthly_z_1x1deg_varlist.list \
# --table_config /home/Ian.Laflotte/Working/fre-cli/fre/tests/test_files/cmip7-cmor-tables/tables/CMIP7_ocean.json \
# --exp_config /home/Ian.Laflotte/Working/fre-cli/fre/tests/test_files/CMOR_CMIP7_input_example.json \
# --outdir /home/Ian.Laflotte/Working/fre-cli/ESM45xml/test_cmor_output \
# --run_one \
# --grid_desc "placeholder grid label for CMIP7, not for publishing" \
# --grid_label g99 \
# --nom_res "10000 km" \
# --start 0001 \
# --stop 0005 \
# --calendar noleap
## CMIP7 call
#fre -vv cmor run \
# --run_one \
# --indir fre/tests/test_files/ocean_sos_var_file \
# --varlist fre/tests/test_files/varlist \
# --table_config fre/tests/test_files/cmip7-cmor-tables/tables/CMIP7_ocean.json \
# --exp_config fre/tests/test_files/CMOR_CMIP7_input_example.json \
# --outdir outdir \
# --calendar 'julian' \
# --grid_label 'g99' \
# --grid_desc 'foo bar placehold' \
# --nom_res '10000 km'
## --opt_var_name sos_tavg-u-hxy-sea
## --opt_var_name sos
## CMIP6 call here just in-case
#fre -vv cmor run \
# --run_one \
# --indir fre/tests/test_files/ocean_sos_var_file \
# --varlist fre/tests/test_files/varlist \
# --table_config fre/tests/test_files/cmip6-cmor-tables/Tables/CMIP6_Omon.json \
# --exp_config fre/tests/test_files/CMOR_input_example.json \
# --outdir outdir \
# --calendar 'julian' \
# --grid_label 'gr' \
# --grid_desc 'foo bar placehold' \
# --nom_res '10000 km'
## --opt_var_name sos