Problem with MACCity emissions

30 views
Skip to first unread message

Aparna C

unread,
May 24, 2025, 8:37:36 AMMay 24
to wrf-chem

Hi all,

I am facing an issue while preparing the emission data for ANTHRO. I am using MACCity emission for the WRF-Chem simulation. For simulating the period from January 10th to 19th, 2020, I have provided the monthly MACCity emission file for that particular month (which contains only one time step). However, I get an error when I run the command ./anthro_emiss < mozcart.inp. Below is the error message:


 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 wrf_file: time = 2020-01-11_00:00:00
 wrf_file: grid dimensions
 wrf_file: ids,ide,jds,jde
     1   119     1   119
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 will use sub cats:  T

 data_file_init: Initializing type for src emission file MACCity_NO_monthly_2020_januvary.nc
 data_file_init:  nlon_src, nlat_src =          720         360
 data_file_init: data_dx,dx,has_area_map =    55588.7344       35000.0000     F
 data_file_init: file MACCity_NO_monthly_2020_januvary.nc is a new grid
 data_file_init: count of points <,> data min,max lat =            0
 xndx_src =          479         562
 data_file_init: count of points < data min lat =            0
 data_file_init: count of points > data max lat =            0
 yndx_src =          188         262
 ====================================================
 get_units: con_fac(1,2) =    3.59999996E+12   1.00000000E+09
 ====================================================

 next_flnm; trying to increment file MACCity_NO_monthly_2020_januvary.nc
 next_flnm; il, iu =           20          23
 next_flnm; file_number =         2020
 next_flnm; new file = MACCity_NO_monthly_2019_januvary.nc
 data_file_timing_init : Failed to open /home/ubuntu/MACCity_NO_monthly_2019_januvary.nc
 No such file or directory
STOP Netcdf error
ubuntu@MASDWSFUJ:~/Utilities_aparna/ANTHRO/src$ vi mozcart_2020.inp


why it is asking for the 2019th time step?

Also, is it okay to provide a dataset that includes multiple time steps (e.g., multiple months, which are not required for the simulation)? Will the program then automatically select only the January emissions based on the simulation dates?  

Deepak

unread,
May 24, 2025, 12:41:29 PMMay 24
to wrf-chem, Aparna C
Hi Aparna,

Could you Please upload your mozcart.inp file

Indranil Nandi

unread,
May 24, 2025, 12:58:55 PMMay 24
to aparn...@gmail.com, wrf-chem
Dear Aparna,

Anthro utility program reads the 'date' and 'datesec' variables in the emission input file. The 'datesec' variable is always 0. and 'date' variable is your required simulation time +1, i.e in your case that shoud be from January 10th to 20th, 2020. Anthro program have the dependency that it needs the next time stamp data to prepare the file of present day. You need to prepare a single file with date variable length 11 days then only it will be able to prepare wrfchemi daily files for 10 days that is 10 to 19 Jan 2020.. if you have monthly files then add  Jan and Feb data together and that will be only 2 date stamps and your anthro will run.

Hope this will help you else inform 


Indranil Nandi
Ph.D. Research Scholar
Centre for Atmospheric Sciences
IIT Delhi
, Hauz Khas, New Delhi 110016, India
Contact No. 8902005948


To unsubscribe from this group and stop receiving emails from it, send an email to wrf-chem+u...@ucar.edu.

Reply all
Reply to author
Forward
0 new messages