Skip to content

Commit 13efe89

Browse files
committed
Start regional
1 parent 1f6ae6a commit 13efe89

1 file changed

Lines changed: 96 additions & 3 deletions

File tree

02-run.md

Lines changed: 96 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ln -s /glade/campaign/mmm/wmr/mpas_tutorial/meshes/x1.10242.graph.info.part.128
3030
ln -s ~/MPAS-Model_v8.3/atmosphere_model .
3131
cp ~/MPAS-Model_v8.3/namelist.atmosphere .
3232
cp ~/MPAS-Model_v8.3/streams.atmosphere .
33-
cp ~/MPAS-Model_v8.3/stream_list.atmosphere.*
33+
cp ~/MPAS-Model_v8.3/stream_list.atmosphere.* .
3434
cp ~/MPAS-Model_v8.3/src/core_atmosphere/physics/physics_wrf/files/* .
3535
```
3636

@@ -121,6 +121,8 @@ qstat -u $USER -f -w
121121

122122
:::
123123

124+
(global-ic)=
125+
124126
## Initial conditions
125127

126128
**20 September 2017, 00 UTC**, the day when Hurricane Maria made landfall in Puerto Rico.
@@ -132,7 +134,7 @@ can be used to create intermediate files from the NSF NCAR RDA ERA5 netCDF files
132134
But here, to simplify things, we will use an intermediate file that we have already created.
133135

134136
```bash
135-
ln -s /glade/u/home/zmoon/mpas-tutorial/FILE:2017-09-20_00 .
137+
ln -s /glade/u/home/zmoon/mpas-tutorial/global/FILE:2017-09-20_00 .
136138
```
137139

138140
:::{tip}
@@ -166,7 +168,7 @@ Update `namelist.init_atmosphere` with these settings:
166168

167169
Then, in `streams.init_atmosphere`, set the input file name template to `x1.10242.static.nc`
168170
(the static file we just created),
169-
and the output file name template to `x1.10242.init.nc`.
171+
and the output file name template to `Africa.init.nc`.
170172

171173
Submit the job.
172174

@@ -259,4 +261,95 @@ We will use the limited-area domain as in:
259261

260262
created by rotating, moving, and cropping the `x5.8060930` global 15–3-km elliptical refinement mesh.
261263

264+
## Run directory
265+
266+
As before, we first build out our run directory.
267+
We use the same MPAS-Model directory, but copy a different mesh.
268+
269+
```{code} bash
270+
cd $SCRATCH
271+
mkdir mpas-africa
272+
cd $_
273+
274+
ln -s /glade/u/home/zmoon/mpas-tutorial/africa/Africa.static.nc .
275+
276+
ln -s /glade/u/home/zmoon/mpas-tutorial/africa/Africa.graph.info.part.240 .
277+
ln -s ~/MPAS-Model_v8.3/init_atmosphere_model .
278+
cp ~/MPAS-Model_v8.3/namelist.init_atmosphere .
279+
cp ~/MPAS-Model_v8.3/streams.init_atmosphere .
280+
281+
ln -s /glade/u/home/zmoon/mpas-tutorial/africa/Africa.graph.info.part.5400 .
282+
ln -s ~/MPAS-Model_v8.3/atmosphere_model .
283+
cp ~/MPAS-Model_v8.3/namelist.atmosphere .
284+
cp ~/MPAS-Model_v8.3/streams.atmosphere .
285+
cp ~/MPAS-Model_v8.3/stream_list.atmosphere.* .
286+
cp ~/MPAS-Model_v8.3/src/core_atmosphere/physics/physics_wrf/files/* .
287+
```
288+
289+
Note that we link a static file instead of a grid file
290+
(we're skipping static file creation in this example).
291+
292+
## Initial conditions
293+
294+
**12 September 2017, 00 UTC**, the day when the AEW that would become Hurricane Maria left the African coast.
295+
296+
As in [the global example](#global-ic), we will link the needed WPS intermediate file
297+
(and those we need for [the BCs](#africa-bc) as well).
298+
299+
```bash
300+
ln -s /glade/derecho/scratch/zmoon/mpas-africa/FILE:* .
301+
```
302+
303+
Update `namelist.init_atmosphere` with these settings:
304+
305+
| parameter | value |
306+
| ----------------------------------------------- | --------------------------- |
307+
| `nhyd_model.config_init_case` | `7` |
308+
| `nhyd_model.config_start_time` | `'2017-09-12_00:00:00'` |
309+
| `data_sources.config_met_prefix` | `'FILE'` |
310+
| `preproc_stages.config_static_interp` | `false` |
311+
| `preproc_stages.config_native_gwd_static` | `false` |
312+
| `preproc_stages.config_native_gwd_gsl_static` | `false` |
313+
| `preproc_stages.config_vertical_grid` | `true` |
314+
| `preproc_stages.config_met_interp` | `true` |
315+
| `preproc_stages.config_input_sst` | `false` |
316+
| `preproc_stages.config_frac_seaice` | `true` |
317+
| `decomposition.config_block_decomp_file_prefix` | `'Africa.graph.info.part.'` |
318+
319+
Then, in `streams.init_atmosphere`, set the input file name template to `Africa.static.nc`
320+
and the output file name template to `Africa.init.nc`.
321+
322+
TODO: job
323+
324+
(africa-bc)=
325+
262326
## Boundary conditions
327+
328+
Update `namelist.init_atmosphere` with these settings:
329+
330+
| parameter | value |
331+
| ----------------------------------------------- | --------------------------- |
332+
| `nhyd_model.config_init_case` | `9` |
333+
| `nhyd_model.config_start_time` | `'2017-09-12_00:00:00'` |
334+
| `nhyd_model.config_stop_time` | `'2017-09-14_23:00:00'` |
335+
| `data_sources.config_met_prefix` | `'FILE'` |
336+
| `preproc_stages.config_static_interp` | `false` |
337+
| `preproc_stages.config_native_gwd_static` | `false` |
338+
| `preproc_stages.config_native_gwd_gsl_static` | `false` |
339+
| `preproc_stages.config_vertical_grid` | `true` |
340+
| `preproc_stages.config_met_interp` | `true` |
341+
| `preproc_stages.config_input_sst` | `false` |
342+
| `preproc_stages.config_frac_seaice` | `true` |
343+
| `decomposition.config_block_decomp_file_prefix` | `'Africa.graph.info.part.'` |
344+
345+
The differences being that now we are using init case 9,
346+
and we need to set a stop time.
347+
348+
Then, in `streams.init_atmosphere`, set the input file name template to `Africa.init.nc`
349+
and the LBC output interval to `1:00:00` (hourly).
350+
351+
TODO: job
352+
353+
## Run the model
354+
355+
TODO: edit diag streams to include isobaric variables

0 commit comments

Comments
 (0)