Problem writing wind variables in init file, MPAS_init

freddynazo

New member
Hello,

I'm trying to run a real case simulation,

I'm using ERA5 as Initial conditions with SST updates, I have run successfully the init atmosphere, but I can't find the variable v (field), I can see the variable u, and u_initial and v initial.

there is a way to add variables like stream_list. for the init file. I also tried modifying streams.atmosphere but it didn't work.

My goal is create perturbations on u,v,theta and T.

Thank you.
 
Please go to src/core_init_atmosphere, and modify Registry.xml. In this Registry file, you can find the following piece of codes (based on v8.3.1):

Code:
 488                 <stream name="output"
 489                         type="output"
 490                         filename_template="x1.40962.init.nc"
 491                         output_interval="initial_only"
 492                         packages="initial_conds"
 493                         immutable="true">
....
....

Then add tangential velocity v to the output stream for initial condition:

Code:
 <var name="v" packages="met_stage_out"/>

Remember to do clean -a and recompile init_atmosphere. The tangential velocity should be included in your initial condition.

Please try and let me know whether it works for you.
 
Back
Top