Skip to content

Commit 9eade7b

Browse files
authored
geos_ocean no more (#550)
* erase geos_ocean configurations * erase every mention of geos_ocean * minor fixes * fix eva yamls * changes related to documentation * erase geos_ocean from ever existing
1 parent b3159f9 commit 9eade7b

File tree

67 files changed

+50
-2590
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+50
-2590
lines changed

docs/adding_a_suite.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ final_cycle_point: '2021-07-01T12:00:00Z'
3737

3838
# List of models in this experiment
3939
model_components:
40-
- geos_ocean
40+
- geos_marine
4141

4242
# Configurations for the model components.
4343
models:
4444

45-
# Configuration for the geos_ocean model component.
46-
geos_ocean:
45+
# Configuration for the geos_marine model component.
46+
geos_marine:
4747

4848
# Enter the cycle times for this model.
4949
cycle_times:
@@ -53,7 +53,7 @@ models:
5353
background_error_model: explicit_diffusion
5454
```
5555
56-
The questions near the top of the file are suite questions, and are referred to as "model independent". The section under "models" describes parameters used by the `geos_ocean` model. Some tasks are shared across models, necessitating different values for the same parameter depending on model. Thus, these parameters are referred to as "model dependent".
56+
The questions near the top of the file are suite questions, and are referred to as "model independent". The section under "models" describes parameters used by the `geos_marine` model. Some tasks are shared across models, necessitating different values for the same parameter depending on model. Thus, these parameters are referred to as "model dependent".
5757

5858
## Example Experiment Workflow
5959

@@ -358,10 +358,11 @@ class SuiteConfig(QuestionContainer, Enum):
358358
qd.start_cycle_point("2021-07-01T12:00:00Z"),
359359
qd.final_cycle_point("2021-07-01T12:00:00Z"),
360360
qd.jedi_build_method("use_existing"),
361-
qd.model_components(['geos_ocean']),
361+
qd.model_components(['geos_marine']),
362362
],
363-
geos_ocean=[
363+
geos_marine=[
364364
qd.cycle_times(['T12']),
365+
qd.marine_models(['mom6']),
365366
qd.window_length("P1D"),
366367
qd.window_offset("PT12H"),
367368
qd.horizontal_resolution("72x36"),

docs/configs/slurm_configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ When SLURM directives conflict, the pattern of overrides generally proceeds such
5959
The full priority list is as follows (directives higher in this list override directives lower):
6060
6161
1. Task- and model-specific directives (`slurm_directives_tasks`) set via `--slurm <somefile.yaml>` (e.g., `RunHofxExecutable.geos_atmosphere` would have `--nodes=4`).
62-
2. Task-specific (but model-agnostic) directives (`slurm_directives_tasks`) from `--slurm <somefile.yaml>` (e.g., `RunHofxExecutable.geos_ocean` and all other `RunHofxExecutable` tasks would have `--nodes=2`)
62+
2. Task-specific (but model-agnostic) directives (`slurm_directives_tasks`) from `--slurm <somefile.yaml>` (e.g., `RunHofxExecutable.geos_marine` and all other `RunHofxExecutable` tasks would have `--nodes=2`)
6363
3. Global directives set from `--slurm <somefile.yaml>` (e.g., all tasks use account `x1234`; all tasks _except_ `RunHofxExecutable` and `BuildJEDI` use `--nodes=1`)
6464
4. User-level global directives in `$HOME/.swell/swell-slurm.yaml`
6565
5. Hard-coded platform specific directives (in SWELL source code `.../platforms/{platform_name}/slurm.yaml`)

docs/examples/soca/3dfgat_cycle.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ existing_geos_gcm_build_path: /discover/nobackup/projects/gmao/SIteam/Models/GEO
6969
existing_geos_gcm_source_path: /discover/nobackup/projects/gmao/SIteam/Models/GEOSgcm-v11.6.0/
7070
7171
# What is the path to the existing JEDI build directory?
72-
existing_jedi_build_directory: /discover/nobackup/projects/gmao/advda/swell/JediBundles/fv3_soca_SLES15_02062025/build-intel-release
72+
existing_jedi_build_directory: /discover/nobackup/projects/gmao/advda/swell/JediBundles/fv3_soca_SLES15_04152025/build-intel-release
7373
7474
# What is the path to the existing JEDI source code directory?
75-
existing_jedi_source_directory: /discover/nobackup/projects/gmao/advda/swell/JediBundles/fv3_soca_SLES15_02062025
75+
existing_jedi_source_directory: /discover/nobackup/projects/gmao/advda/swell/JediBundles/fv3_soca_SLES15_04152025
7676
7777
# GEOS forecast duration
7878
forecast_duration: PT12H

docs/examples/soca/3dvar.md

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div style="border:1px solid red; padding: 5px; background-color: #ffe6e6; color: black; margin-bottom: 10px;">
2-
<strong>Warning:</strong> Currently, <strong>3dvar</strong> suite only contains the <strong>geos_ocean</strong> configuration and <strong>3dvar_atmos</strong> only contains the <strong>geos_atmosphere</strong> configuration. This will likely change in a future SWELL version.
2+
<strong>Warning:</strong> Currently, <strong>3dvar</strong> suite only contains the <strong>geos_marine</strong> configuration and <strong>3dvar_atmos</strong> only contains the <strong>geos_atmosphere</strong> configuration. This will likely change in a future SWELL version.
33
</div>
44

55
## Create a Swell 3DVar experiment:
@@ -53,27 +53,31 @@ runahead_limit: P4
5353
5454
# List of models in this experiment
5555
model_components:
56-
- geos_ocean
56+
- geos_marine
5757
5858
# Do you want to use an existing JEDI build or create a new build?
5959
jedi_build_method: use_existing
6060
6161
# What is the path to the existing JEDI build directory?
62-
existing_jedi_build_directory: /discover/nobackup/gmao_ci/swell/tier2/stable/build_jedi/jedi_bundle/build/
62+
existing_jedi_build_directory: /discover/nobackup/projects/gmao/advda/swell/JediBundles/fv3_soca_SLES15_04152025/build-intel-release
6363
6464
# What is the path to the existing JEDI source code directory?
65-
existing_jedi_source_directory: /discover/nobackup/gmao_ci/swell/tier2/stable/build_jedi/jedi_bundle/source/
65+
existing_jedi_source_directory: /discover/nobackup/projects/gmao/advda/swell/JediBundles/fv3_soca_SLES15_04152025
6666
6767
# Configurations for the model components.
6868
models:
6969
70-
# Configuration for the geos_ocean model component.
71-
geos_ocean:
70+
# Configuration for the geos_marine model component.
71+
geos_marine:
7272
7373
# Enter the cycle times for this model.
7474
cycle_times:
7575
- T12
7676
77+
# Select the active SOCA models for this model.
78+
marine_models:
79+
- mom6
80+
7781
# Enter the cycle times for this model.
7882
window_type: 3D
7983
@@ -176,14 +180,19 @@ platform: nccs_discover_sles15
176180
suite_to_run: 3dvar
177181
```
178182

179-
Most of these configurations are self explanatory, we will mention only two here for now.
183+
Most of these configurations are self explanatory, we will mention only a few here for now.
180184

181185
`clean_patterns`: This key controls which files will be erased after the experiment run is complete.
182186
Currently, `IODA` output files are erased after the diagnostic plots (using EVA) are created.
183187

184188
`generate_yaml_and_exit`: When this key is `True`, the code will progress right before the execution
185189
and generate a JEDI Config YAML. This could be useful while debugging problems.
186190

191+
192+
`marine_models`: JEDI/SOCA interface is designed to handle multiple marine model outputs. Currently in SWELL,
193+
`mom6` and `cice6` model interfaces are supported. `mom6` should always be active for `SOCA` however `cice6` is
194+
optional. If `cice6` model is not active one should take out sea-ice related observations and variables from the `experiment.yaml` and from the `analysis_variables`.
195+
187196
If you would like to change any of these parameters, it is suggested to copy `experiment.yaml`
188197
to `override.yaml` and make desired configuration changes. Afterwards, create the experiment again:
189198

@@ -232,14 +241,14 @@ If all goes well, the run will complete successfully.
232241

233242
## After the run is complete:
234243

235-
In this default example, there is a single model type (`geos_ocean`) that contains a single cycle (`20210701T120000Z`).
244+
In this default example, there is a single model type (`geos_marine`) that contains a single cycle (`20210701T120000Z`).
236245

237-
Let's take a look at the `geos_ocean` folder after the run is complete.
246+
Let's take a look at the `geos_marine` folder after the run is complete.
238247

239248
```bash
240249
run
241250
└── 20210701T120000Z
242-
└── geos_ocean
251+
└── geos_marine
243252
├── background_error_model/
244253
├── INPUT/
245254
├── eva/

src/swell/configuration/jedi/interfaces/geos_marine/task_questions.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
analysis_forecast_window_offset:
22
default_value: -PT6H
33
options:
4+
- -PT12H
45
- -PT6H
56

67
analysis_variables:
@@ -30,6 +31,8 @@ background_frequency:
3031

3132
background_time_offset:
3233
default_value: PT9H
34+
options:
35+
- PT9H
3336

3437
clean_patterns:
3538
default_value:
@@ -38,6 +41,8 @@ clean_patterns:
3841
- '*MOM*'
3942
- logfile.*.out
4043
options:
44+
- logfile.*.out
45+
- background_error_model/*.nc
4146
- '*.nc4'
4247
- '*.txt'
4348
- '*MOM*'
@@ -49,6 +54,7 @@ gradient_norm_reduction:
4954
horizontal_resolution:
5055
default_value: 1440x1080
5156
options:
57+
- 72x36
5258
- 360x320
5359
- 1440x1080
5460

@@ -115,12 +121,16 @@ observations:
115121
- sst_viirs_n20_l3u
116122
- temp_profile_xbt
117123

124+
path_to_ensemble:
125+
default_value: test
126+
118127
total_processors:
119128
default_value: 24
120129

121130
vertical_resolution:
122131
default_value: '75'
123132
options:
133+
- '50'
124134
- '75'
125135

126136
window_length:

src/swell/configuration/jedi/interfaces/geos_ocean/geos_ocean.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/swell/configuration/jedi/interfaces/geos_ocean/model/analysis.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/swell/configuration/jedi/interfaces/geos_ocean/model/background.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/swell/configuration/jedi/interfaces/geos_ocean/model/background_diffusion_vt.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/swell/configuration/jedi/interfaces/geos_ocean/model/background_error.yaml

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)