How to generate static.nc for 15km-3km mesh?

154 views
Skip to first unread message

Wei Huang

unread,
Jul 24, 2018, 6:22:20 PM7/24/18
to MPAS-Atmosphere Help
Hello there,

I am trying to run the 15km-3km mesh.
I have downloaded file: x5.6488066.tar.gz, which do not have "static.nc" file with it.
So I tried to run init_atmoshere_model to generate it.

I have naemlist.init_atmosphere as:
&nhyd_model
    config_init_case  = 7
/
&dimensions
    config_nvertlevels = 1
    config_nsoillevels = 1
    config_nfglevels = 1
    config_nfgsoillevels = 1
/
&data_sources
    config_geog_data_path = '../WPS_GEOG/'
    config_landuse_data = 'USGS'
/
&vertical_grid
    config_ztop = 30000.0
    config_nsmterrain = 1
    config_smooth_surfaces = true
    config_dzmin = 0.3
    config_nsm = 30
/
&preproc_stages
    config_static_interp = true
    config_native_gwd_static = true
    config_vertical_grid = false
    config_met_interp = false
    config_input_sst = false
/
&io
    config_pio_num_iotasks = 0
    config_pio_stride = 1
/
&decomposition
    config_block_decomp_file_prefix = 'x5.6488066.cvt.part.'
/
    

and have streams.init_atmosphere as:

<streams>
<immutable_stream name="static"
                  type="output"
                  filename_template="x5.6488066.static.nc"
                  output_interval="initial_only" />

<immutable_stream name="output"
                  type="output"
                  io_type="netcdf4"
                  filename_template="x5.6488066.init.nc"
                  packages="initial_conds"
                  output_interval="initial_only" />
</streams>

When I tried to run it as:

mpiexec_mpt -np 1 ../executables/init_atmosphere_model

I got error:

cat  log.init_atmosphere.0000.err
----------------------------------------------------------------------
Beginning MPAS-init_atmosphere Error Log File for task       0 of       1
    Opened at 2018/07/24 17:15:28
----------------------------------------------------------------------

CRITICAL ERROR: stream xml get attribute failed: streams.init_atmosphere
Logging complete.  Closing file at 2018/07/24 17:15:28

it seems something wrong in "streams.init_atmosphere", but could not find a good example from user guide.

I am running MPAS6.1

Thanks,

Wei



peter...@g.ncu.edu.tw

unread,
Jul 25, 2018, 1:25:19 PM7/25/18
to MPAS-Atmosphere Help
Hi Wei,

You need to edit the streams like this to make static file.

streams.init_atmosphere
<streams>
<immutable_stream name="input"
                  type="output"
                  filename_template="x5.6488066.grid.nc"

                  output_interval="initial_only" />


<immutable_stream name="output"
                  type="output"
                  filename_template="x5.6488066.static.nc"

                  packages="initial_conds"
                  output_interval="initial_only" />
</streams>

Hopes that help,
Cheng Peng

Wei Huang

unread,
Jul 26, 2018, 9:21:20 PM7/26/18
to peter...@g.ncu.edu.tw, MPAS-Atmosphere Help
Cheng,

It worked with your help.

Thanks,

Wei

--
You received this message because you are subscribed to a topic in the Google Groups "MPAS-Atmosphere Help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mpas-atmosphere-help/_dc-dGr55Hc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mpas-atmosphere-help+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages