Read in the corresponding time period at each time

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.

Chongyuan Wu

New member
Hi All,

I have an auxinput16 file called "wrfbiomass_d01" which contains some variables and all variables dimension is time(1)*one(1)*south_north(77)*west_east(66). WRF can read it successfully.

Now i want to change its dimension to time(24)*one(1)*south_north(77)*west_east(66) and assign a variable to a four-dimensional variable of WRF at 00, 01, 02, 03, 04, 05,..., 22 and 23 every day during the simulation.
eg. assign to "eghg_bio (REAL, DIMENSION( ims:ime, 1, jms:jme, num_eghg_bio ), INTENT(INOUT) :: eghg_bio" in chem/module_ghg_fluxes.F

I doubted this may be related to the time cycle of WRF, because I did not find any time cycle in this module.

Could anyone tell me which part to modify?

I appreciate any help.
 
Hi Chongyuan Wu,

My advice would be to search the codebase for "wrfchemi_00z_d01"/"wrfchemi_12Z_d01" or
"( config_flags%io_style_emissions == 2 ) then"

and see if you can create duplicate lines of code that achieve what you'd like.

The main part of this code can be found in share/mediation_integrate.F

Jordan
 
jordanschnell said:
Hi Chongyuan Wu,

My advice would be to search the codebase for "wrfchemi_00z_d01"/"wrfchemi_12Z_d01" or
"( config_flags%io_style_emissions == 2 ) then"

and see if you can create duplicate lines of code that achieve what you'd like.

The main part of this code can be found in share/mediation_integrate.F

Jordan

Hi jordanschnell,

Thank you for your reply!I will try it.
 
Back
Top