real.exe try to read wrf_chem_input_d01 even if auxinput_12 not enabled

464 views
Skip to first unread message

Caterina Mogno

unread,
Jun 11, 2019, 2:43:31 PM6/11/19
to wrf-chem-run
Hi all,

I am facing a problem when rerunnig real.exe with the chemistry switched on (chem_opt =202) before creating boundary conditions with MOZBC.  When running real.exe, it stops with this error:

......
01 2010-04-01_00:00:00 Timing for processing          1 s.
INITIALIZING CHEMISTRY WITH OLD SIMULATION
 mediation_integrate: med_read_wrf_chem_input: Open file wrf_chem_input_d01
d01 2010-04-01_00:00:00  NetCDF error: No such file or directory
d01 2010-04-01_00:00:00  NetCDF error in wrf_io.F90, line        1077
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:    2203
 med_read_wrf_chem_input error opening wrf_chem_input_d01


But I haven't enabled the auxinput_12 in the namelist.input that should regulate the reinitialisation with old chemistry.  

What may be wrong?


I attach here my namelist.inp and the rsl file.

Thanks in advance for help!

Caterina
rsl.error.0000
namelist.input

Gabriele Pfister

unread,
Jun 11, 2019, 2:59:58 PM6/11/19
to Caterina Mogno, wrf-chem-run
Caterina

I cannot see anything wrong with your namelist and obviously there
must me some inconsistency in your setup. I suggest taking out all
entries in namelist.input for running real.exe.
You will not need the chemistry fields in wrfinput or wrfbdy, just
make sure you set def_missing_var = .true. when running mozbc.

Gabriele
--
================================
Gabriele Pfister, Deputy Director
Atmospheric Chemistry Observations & Modeling
National Center for Atmospheric Research
Email: pfi...@ucar.edu
Phone: +1 303 497 2915
Web: https://staff.ucar.edu/users/pfister

Caterina Mogno

unread,
Jun 12, 2019, 6:02:40 AM6/12/19
to Gabriele Pfister, wrf-chem-run
Dear Gabriele,

thanks for your reply.
When you say 'taking out all the entries' you mean all the auxinput* ?

Another question, more general.. If I play around modyfing the namelist.input, then I need to rerun the preprocessor for preparing emissions (anthro_emiss, bio_emiss, fire_emis, wes-coldens, and mozbc)? Or these preprocessor need just the information about the domain (spatial and temporal) and grid size, so in principle if I don't modify these particular inputs in the namelist.input I don't need to rerun them?

Thanks in advance!

Caterina

Gabriele Pfister

unread,
Jun 12, 2019, 10:39:22 AM6/12/19
to Caterina Mogno, wrf-chem-run
Caterina

You will have to take out the entire &chem section and also the chemistry related auxinput entries. 

As for the preprocessor, you will only have to rerun them if you change the model domain. Except mozbc, which you have to rerun if you create new wrfinput or wrfbdy.

Gabi

Caterina Mogno

unread,
Jun 12, 2019, 12:23:04 PM6/12/19
to Gabriele Pfister, wrf-chem-run
Thanks Gabi for the clarification. I managed to find the error in my namelist (chem_in_opt was 1) and I was able to run MOZBC.

However, when I run wrf.exe, I have this error:

Chemics_init: Cloud chemistry turned on
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:     473
ERROR: N2O5 heterogenous chemistry (without Cl- pathway) must be run with MOSAIC aerosol
-------------------------------------------
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0

But in my namelist.input the   n2o5_hetchem=1, as suggested in the guidelines for using MOZART-MOSAIC option 201 or 202. I tried to set n2o5_hetchem either to 0 or 2, but I get the same error.

I attach here the rsl file and the namelist.input.

Thanks in advance!

Caterina

namelist.input
rsl.error.0000

Sreyashi Debnath

unread,
Jun 12, 2019, 3:25:15 PM6/12/19
to Caterina Mogno, Gabriele Pfister, wrf-chem-run
Hello Caterina.!!

You can check the 'chemics_init.F' file under WRFV3/chem. In the file, under the section ' if ( config_flags%n2o5_hetchem == 1 )then ', probably you would find the flag 'config_flags%chem_opt == 202' missing. Just add the flag in the section and recompile the model. Hopefully, it should work.

I have attached a snapshot of the n2o5 section for your reference (check the underlined flag in the attachment).

Thanks,
Sreyashi Debnath
IITM, Pune, India


--
You received this message because you are subscribed to the Google Groups "wrf-chem-run" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wrf-chem-run...@ucar.edu.
N2O5.mosaic.jpg

Stacy Walters

unread,
Jun 12, 2019, 3:31:06 PM6/12/19
to Caterina Mogno, Gabriele Pfister, wrf-chem-run
Caterina,

What version of WRF are you running?

Stacy

Caterina Mogno

unread,
Jun 12, 2019, 5:24:48 PM6/12/19
to Stacy Walters, Gabriele Pfister, wrf-chem-run
Hi Stacy,

I am using WRFchem version 4.0.2

Caterina

--
Reply all
Reply to author
Forward
0 new messages