Skip to content

[Bug] 2-stream mpas_atmosphere warnings #17

@jjguerrette

Description

@jjguerrette

Current behavior (describe the bug)

So far only tested with a 120km domain.

When using the 2-stream (static+input) initial state in an mpas_atmosphere forecast within mpas-bundle, the following warnings are issued:

WARNING: Variable meshScalingDel2 not in input file.
WARNING: Variable meshScalingDel4 not in input file.
WARNING: Variable meshScalingRegionalCell not in input file.
WARNING: Variable meshScalingRegionalEdge not in input file.
WARNING: Variable east not in input file.
WARNING: Variable north not in input file.
WARNING: Variable pin not in input file.
WARNING: Variable ozmixm not in input file.

The static and and input streams are as follows in streams.atmosphere:

<immutable_stream name="static"
                  type="input"
                  filename_template="static.nc"
                  io_type="pnetcdf,cdf5"
                  input_interval="initial_only" />

<immutable_stream name="input"
                  type="input"
                  filename_template="mpasin.$Y-$M-$D_$h.$m.$s.nc"
                  io_type="pnetcdf,cdf5"
                  input_interval="initial_only" />

I am using an x1.40962.init.DATE.nc file linked to static.nc and a da_state (mpasout) file as mpasin.$Y-$M-$D_$h.$m.$s.nc.

Looking at src/core_atmosphere/Registry.xml, the static stream is supposed to include east, north, pin, and ozmixm. However, the output stream in src/core_init_atmosphere/Registry.xml, which is used to produce x1.40962.init.DATE.nc files, does not include any of those four variables. So either we should not use init.nc files as static stream inputs or one of the two Registry.xml variable lists needs to be modified.

The source of the other warning (meshScalingDel2, meshScalingDel4, meshScalingRegionalCell, and meshScalingRegionalEdge) is not clear. These are only listed in the restart stream of src/core_atmosphere/Registry.xml, but I have config_do_restart = false set in namelist.atmosphere. Also, those appear to be dependent variables set in src/core_atmosphere/mpas_atm_core::atm_compute_mesh_scaling, not variables that need to be read in.

To Reproduce

What computer are you running on?
Cheyenne

What compilers/modules are you using?
jedi/gnu-openmpi/9.1.0-v0.4

Steps to reproduce the behavior

  1. Run mpas_atmosphere forecast in 2-stream workflow
  2. Look at log.atmosphere.0000.out

Expected behavior

The warnings should not be issued, either because the fields are present in the static.nc file or because they are not needed and are removed from the requested variables.

Additional information (optional)

Metadata

Metadata

Labels

bugSomething is not working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions