Skip to content

Commit 9101c2a

Browse files
committed
Point template cfgs to correct scratch directory
1 parent c226350 commit 9101c2a

26 files changed

+150
-140
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,14 @@ LEX was first described in Evans, et al., 2019[^1]
1111

1212
## Dependencies
1313

14-
The Python dependencies are listed in requirements*.txt but
14+
The Python dependencies are listed in requirements.txt and requirements-dev.txt but
1515
this suite depends on a set of reanalysis and observational datasets,
1616
which are part of E3SM-Diags, available on several DOE supported
1717
machines, including Perlmutter at NERSC, and Chrysalis at ANL\'s LCRC.
1818

19+
The Python package itself is described in `pyproject.toml`, which is used by
20+
`pip` to install this package
21+
1922
Currently, LEX is designed to run on Perlmutter, but future work is
2023
planned to support other machines.
2124

@@ -64,12 +67,13 @@ option.
6467

6568
For example, to run the minimal example extension, place the output
6669
website in the `vv_test` directory, and serve the output
67-
website you\'d run this command:
70+
website you'd run this command:
6871

6972
```bash
70-
$ livv -V config/example/example.yml -o $SCRATCH/vv_test -s
73+
$ livv -V config/example/example.yml -o vv_test -s
7174
```
72-
This will create a directory in `$SCRATCH` called `vv_test`
75+
This will create a directory in the current directory called `vv_test` (~7.5 MB), and spawn an HTTP server, which should only be used for testing purposes. (This works best if the output is in the current directory)
76+
7377
*Note:* All the extension configurations files assume you are working
7478
from the top level `lex` directory. You *can* run any of these
7579
extensions from any directory, but you will need to edit the paths in

config/template_r025/cmb_ais.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ Climatic_Mass_Balance_AIS:
55
Case ID: [CASE_ID]
66
Climatology years: [1980-2020]
77
Model: [E3SM-ELM]
8-
climo: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.{clim}_mean.nc
9-
climo_remap: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.{clim}_mean_rcmais.nc
8+
climo: CASE_OUT_DIR/CASE_ID.{clim}_mean.nc
9+
climo_remap: CASE_OUT_DIR/remap/CASE_ID.{clim}_mean_rcmais.nc
1010

11-
latlon: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.ANN_mean.nc
12-
elevation: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.ANN_mean.nc
13-
topo: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.ANN_mean.nc
11+
latlon: CASE_OUT_DIR/CASE_ID.ANN_mean.nc
12+
elevation: CASE_OUT_DIR/CASE_ID.ANN_mean.nc
13+
topo: CASE_OUT_DIR/CASE_ID.ANN_mean.nc
1414
latv: lat
1515
lonv: lon
1616
smbv: QICE

config/template_r025/cmb_gis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ Climatic_Mass_Balance_GIS:
55
Case ID: [CASE_ID]
66
Climatology years: [1980-2020]
77
Model: [E3SM-ELM]
8-
climo: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.{clim}_mean.nc
9-
climo_remap: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.{clim}_mean_rcmgis.nc
8+
climo: CASE_OUT_DIR/CASE_ID.{clim}_mean.nc
9+
climo_remap: CASE_OUT_DIR/remap/CASE_ID.{clim}_mean_rcmgis.nc
1010

11-
latlon: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.ANN_mean.nc
12-
elevation: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.ANN_mean.nc
13-
topo: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.ANN_mean.nc
11+
latlon: CASE_OUT_DIR/CASE_ID.ANN_mean.nc
12+
elevation: CASE_OUT_DIR/CASE_ID.ANN_mean.nc
13+
topo: CASE_OUT_DIR/CASE_ID.ANN_mean.nc
1414
latv: lat
1515
lonv: lon
1616
smbv: QICE

config/template_r025/energy_e3sm_ceres_ais.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ Energy_Balance_CERES_AIS:
1212
Climatology years: [1980-2020]
1313
Model: [E3SM-ELM]
1414
img_height: 300
15-
climo: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.{clim}_mean.nc
16-
climo_remap: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.{clim}_mean_cmip6.nc
17-
lnd_climo: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.ANN_mean.nc
18-
glc_surf: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.ANN_mean.nc
15+
climo: CASE_OUT_DIR/CASE_ID.{clim}_mean.nc
16+
climo_remap: CASE_OUT_DIR/remap/CASE_ID.{clim}_mean_cmip6.nc
17+
lnd_climo: CASE_OUT_DIR/CASE_ID.ANN_mean.nc
18+
glc_surf: CASE_OUT_DIR/CASE_ID.ANN_mean.nc
1919

20-
latlon: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.ANN_mean.nc
21-
elevation: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.ANN_mean.nc
20+
latlon: CASE_OUT_DIR/CASE_ID.ANN_mean.nc
21+
elevation: CASE_OUT_DIR/CASE_ID.ANN_mean.nc
2222
latv: lat
2323
lonv: lon
2424
topov: topo

config/template_r025/energy_e3sm_ceres_gis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Energy_Balance_CERES_GIS:
77
Climatology years: [1980-2020]
88
Model: [E3SM-ELM]
99
img_height: 300
10-
climo: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.{clim}_mean.nc
11-
climo_remap: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.{clim}_mean_cmip6.nc
12-
lnd_climo: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.ANN_mean.nc
13-
glc_surf: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.ANN_mean.nc
10+
climo: CASE_OUT_DIR/CASE_ID.{clim}_mean.nc
11+
climo_remap: CASE_OUT_DIR/remap/CASE_ID.{clim}_mean_cmip6.nc
12+
lnd_climo: CASE_OUT_DIR/CASE_ID.ANN_mean.nc
13+
glc_surf: CASE_OUT_DIR/CASE_ID.ANN_mean.nc
1414

15-
latlon: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.ANN_mean.nc
16-
elevation: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.ANN_mean.nc
15+
latlon: CASE_OUT_DIR/CASE_ID.ANN_mean.nc
16+
elevation: CASE_OUT_DIR/CASE_ID.ANN_mean.nc
1717
latv: lat
1818
lonv: lon
1919
topov: topo

config/template_r025/energy_e3sm_era5_ais.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Energy_Balance_ERA5_AIS:
77
Climatology years: [1980-2020]
88
Model: [E3SM-ELM]
99
img_height: 300
10-
climo: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.{clim}_mean.nc
11-
climo_remap: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.{clim}_mean_era5.nc
12-
lnd_climo: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.ANN_mean_era5.nc
13-
glc_surf: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.ANN_mean_era5.nc
10+
climo: CASE_OUT_DIR/CASE_ID.{clim}_mean.nc
11+
climo_remap: CASE_OUT_DIR/remap/CASE_ID.{clim}_mean_era5.nc
12+
lnd_climo: CASE_OUT_DIR/remap/CASE_ID.ANN_mean_era5.nc
13+
glc_surf: CASE_OUT_DIR/remap/CASE_ID.ANN_mean_era5.nc
1414

15-
latlon: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.ANN_mean_era5.nc
16-
elevation: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.ANN_mean_era5.nc
15+
latlon: CASE_OUT_DIR/remap/CASE_ID.ANN_mean_era5.nc
16+
elevation: CASE_OUT_DIR/remap/CASE_ID.ANN_mean_era5.nc
1717
latv: lat
1818
lonv: lon
1919
topov: topo

config/template_r025/energy_e3sm_era5_gis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Energy_Balance_ERA5_GIS:
77
Climatology years: [1980-2020]
88
Model: [E3SM-ELM]
99
img_height: 300
10-
climo: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.{clim}_mean.nc
11-
climo_remap: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.{clim}_mean_era5.nc
12-
lnd_climo: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.ANN_mean_era5.nc
13-
glc_surf: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.ANN_mean_era5.nc
10+
climo: CASE_OUT_DIR/CASE_ID.{clim}_mean.nc
11+
climo_remap: CASE_OUT_DIR/remap/CASE_ID.{clim}_mean_era5.nc
12+
lnd_climo: CASE_OUT_DIR/remap/CASE_ID.ANN_mean_era5.nc
13+
glc_surf: CASE_OUT_DIR/remap/CASE_ID.ANN_mean_era5.nc
1414

15-
latlon: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.ANN_mean_era5.nc
16-
elevation: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.ANN_mean_era5.nc
15+
latlon: CASE_OUT_DIR/remap/CASE_ID.ANN_mean_era5.nc
16+
elevation: CASE_OUT_DIR/remap/CASE_ID.ANN_mean_era5.nc
1717
latv: lat
1818
lonv: lon
1919
topov: topo

config/template_r025/energy_e3sm_merra2_merra_grid_ais.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Energy_Balance_MERRA2_AIS:
77
Climatology years: [1980-2020]
88
Model: [E3SM-ELM]
99
img_height: 300
10-
climo: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.{clim}_mean.nc
11-
climo_remap: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.{clim}_mean_merra2.nc
12-
lnd_climo: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.ANN_mean_merra2.nc
13-
glc_surf: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.ANN_mean_merra2.nc
10+
climo: CASE_OUT_DIR/CASE_ID.{clim}_mean.nc
11+
climo_remap: CASE_OUT_DIR/remap/CASE_ID.{clim}_mean_merra2.nc
12+
lnd_climo: CASE_OUT_DIR/remap/CASE_ID.ANN_mean_merra2.nc
13+
glc_surf: CASE_OUT_DIR/remap/CASE_ID.ANN_mean_merra2.nc
1414

15-
latlon: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.ANN_mean_merra2.nc
16-
elevation: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.ANN_mean_merra2.nc
15+
latlon: CASE_OUT_DIR/remap/CASE_ID.ANN_mean_merra2.nc
16+
elevation: CASE_OUT_DIR/remap/CASE_ID.ANN_mean_merra2.nc
1717
latv: lat
1818
lonv: lon
1919
topov: topo

config/template_r025/energy_e3sm_merra2_merra_grid_gis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Energy_Balance_MERRA2_GIS:
77
Climatology years: [1980-2020]
88
Model: [E3SM-ELM]
99
img_height: 300
10-
climo: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.{clim}_mean.nc
11-
climo_remap: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.{clim}_mean_merra2.nc
12-
lnd_climo: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.ANN_mean_merra2.nc
13-
glc_surf: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.ANN_mean_merra2.nc
10+
climo: CASE_OUT_DIR/CASE_ID.{clim}_mean.nc
11+
climo_remap: CASE_OUT_DIR/remap/CASE_ID.{clim}_mean_merra2.nc
12+
lnd_climo: CASE_OUT_DIR/remap/CASE_ID.ANN_mean_merra2.nc
13+
glc_surf: CASE_OUT_DIR/remap/CASE_ID.ANN_mean_merra2.nc
1414

15-
latlon: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.ANN_mean_merra2.nc
16-
elevation: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.ANN_mean_merra2.nc
15+
latlon: CASE_OUT_DIR/remap/CASE_ID.ANN_mean_merra2.nc
16+
elevation: CASE_OUT_DIR/remap/CASE_ID.ANN_mean_merra2.nc
1717
latv: lat
1818
lonv: lon
1919
topov: topo

config/template_r025/energy_e3sm_racmo_ais.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Energy_Balance_RACMO_AIS:
77
Climatology years: [1980-2020]
88
Model: [E3SM-ELM]
99
img_height: 300
10-
climo: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.{clim}_mean.nc
11-
climo_remap: SCRATCH_DIR/lex/data/e3sm/CASE_ID/remap/CASE_ID.{clim}_mean_rcmais.nc
12-
lnd_climo: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.ANN_mean.nc
13-
glc_surf: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.ANN_mean.nc
10+
climo: CASE_OUT_DIR/CASE_ID.{clim}_mean.nc
11+
climo_remap: CASE_OUT_DIR/remap/CASE_ID.{clim}_mean_rcmais.nc
12+
lnd_climo: CASE_OUT_DIR/CASE_ID.ANN_mean.nc
13+
glc_surf: CASE_OUT_DIR/CASE_ID.ANN_mean.nc
1414

15-
latlon: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.ANN_mean.nc
16-
elevation: SCRATCH_DIR/lex/data/e3sm/CASE_ID/CASE_ID.ANN_mean.nc
15+
latlon: CASE_OUT_DIR/CASE_ID.ANN_mean.nc
16+
elevation: CASE_OUT_DIR/CASE_ID.ANN_mean.nc
1717
latv: lat
1818
lonv: lon
1919
topov: topo

0 commit comments

Comments
 (0)