Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Can't create LBC conditions

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

Enea2301

New member
Hi! I've been trying to create IC and LBC conditions for a regional mesh (it's a test, before I jump to something bigger) in MPAS-7.0

The problem is that init_atmosphere complains all the time that the time set in fg_interval isn't the same as the time set in the stream output.

Here are both codes:

Code:
&nhyd_model
    config_init_case = 9
    config_start_time = '2020-11-21_00:00:00'
    config_stop_time = '2020-11-23_00:00:00'

/
&dimensions
    config_nfglevels = 34

/
&data_sources
    config_met_prefix = 'FILE'
    config_fg_interval = 10800

/
&decomposition
    config_block_decomp_file_prefix = 'Spain.graph.info.part.2'
/

Code:
<streams>
<immutable_stream name="input"
                  type="input"
                  filename_template="2020-11-21_00.00.00_IC.nc"
                  input_interval="initial_only" />

<immutable_stream name="output"
                  type="output"
                  filename_template="lbc.$Y-$M-$D_$h.$m.$s.nc"
                  filename_interval="output_interval"
                  packages="lbcs"
                  output_interval="3:00:00" />

<immutable_stream name="surface"
                  type="output"
                  filename_template="x4.535554.sfc_update.nc"
                  filename_interval="none"
                  packages="sfc_update"
                  output_interval="3:00:00" />

</streams>
 
The LBCs are written by a stream named "lbc", which I don't see in your streams.init_atmosphere file. You can find an example of this stream in the streams.init_atmosphere file that should have been created in the "default_inputs" sub-directory of the main MPAS-Model directory after you compiled the init_atmosphere core. The output interval for the "lbc" stream must match the value of config_fg_interval in your namelist. For example, the following should work in your case, with a config_fg_interval value of 10800 seconds:

Code:
<immutable_stream name="lbc"
                  type="output"
                  filename_template="lbc.$Y-$M-$D_$h.$m.$s.nc"
                  filename_interval="output_interval"
                  packages="lbcs"
                  output_interval="3:00:00" />
 
I'll give it a try as soon as I can. Thank you for the answer! My fault hadn't noticed that simple thing, guess it's normal being on a totally new environment hehe

mgduda said:
The LBCs are written by a stream named "lbc", which I don't see in your streams.init_atmosphere file. You can find an example of this stream in the streams.init_atmosphere file that should have been created in the "default_inputs" sub-directory of the main MPAS-Model directory after you compiled the init_atmosphere core. The output interval for the "lbc" stream must match the value of config_fg_interval in your namelist. For example, the following should work in your case, with a config_fg_interval value of 10800 seconds:

Code:
<immutable_stream name="lbc"
                  type="output"
                  filename_template="lbc.$Y-$M-$D_$h.$m.$s.nc"
                  filename_interval="output_interval"
                  packages="lbcs"
                  output_interval="3:00:00" />
 
Top