Skip to content
rmontuoro edited this page Apr 17, 2020 · 2 revisions

This NEMS fork includes updates to support applications from the Space Weather Prediction Center (SWPC).

The Space Weather Prediction Center Mediator

A specialized NUOPC mediator component is provided to support coupling between the WAM and IPE model components.

The SWPC mediator uses an intermediate 3D mesh built on top of WAM's own 2D mesh. At this time, this is accomplished by using the same WAM method to recreate WAM's 2D mesh locally, then build a 3D mesh using a set of vertical levels read from a resource file (default name: med.rc).

SWPC mediator resource file

The mediator's resource file includes the following keywords:

mesh_write:

Set to true (also T, .true., .t.) to write both 2D and 3D mesh objects to VTK files; false (or F, .false., .f.) otherwise

mesh_file_prefix:

Set the VTK file name without its extension (.vtk)

interpolation_levels::

This keyword marks the beginning of a table, which provides (1st column) the list of vertical levels (in km) required for the intermediate 3D mesh. Symbol :: indicates the end of the table.

A shortened sample of med.rc is shown below (omitted lines are shown as [...]):

#############################################
####  SWPC Mediator Configuration File  #####
#############################################

mesh_write: false
mesh_file_prefix:  med
interpolation_levels::
89.81
91.25
92.68
94.11
95.54
96.97
98.41
99.86
[...]
740.
750.
760.
770.
780.
790.
800.
::
Clone this wiki locally