file incremental error in running mozbc

Post Reply
preritaagarwal
Posts: 36
Joined: Thu Mar 12, 2020 11:21 am

file incremental error in running mozbc

Post by preritaagarwal » Fri Jun 26, 2020 11:20 am

I am running the mozbc utility with WRF Version 4.0 and I have a single h0001.nc file for one day for one day simulation. I am getting the 'file incremental' error now.
I tried downloading the data for previous date and stilll the error persists.
I see a similar query from a few years back in the wrf-user mailing list but do not see an answer attached.
My error is the following-

init_mozart_lib: opened ../mozbc/mozbc_data/hb0001.nc

next_flnm; trying to increment file hb0001.nc
next_flnm; il, iu = 3 6
next_flnm; file_number = 1
next_flnm; new file = hb0000.nc
failed to open ../mozbc/mozbc_data/hb0000.nc
No such file or directory

fail to process netCDF file...

I appreciate any leads.

Thank you,
Prerita

jordanschnell
Posts: 257
Joined: Thu Feb 27, 2020 10:58 pm

Re: file incremental error in running mozbc

Post by jordanschnell » Fri Jun 26, 2020 3:39 pm

Hi Prerita,

I am not especially familiar with the code of mozbc, but it seems as though it is also looking for a file named: hb0000.nc, which may be an issue from your namelist . Could you also attach your namelist? Based on the README:

Note that if need be mozbc will increment the fn_moz filename to look for
matching times once the end of the fn_moz file has been reached.

Are you supplying a file or just one value for fn_moz?

One thing you could try, since you only need one file, is to just copy your hb0001 file to hb0000.

Jordan

preritaagarwal
Posts: 36
Joined: Thu Mar 12, 2020 11:21 am

Re: file incremental error in running mozbc

Post by preritaagarwal » Fri Jun 26, 2020 4:06 pm

Hi Jordan,
I was able to solve the issue.
The mozbc utility was searching for date,datesec from one day before the actual simulation.

Thanks for the help!

Prerita

blanca_rios
Posts: 4
Joined: Thu Feb 04, 2021 6:49 pm

Re: file incremental error in running mozbc

Post by blanca_rios » Thu Jan 20, 2022 10:14 pm

Hi all,
I have the same problem, but my data are monthly averages, could you explain in more detail how you did to correct the problem, please.

Thank you
Regrads

Blanca

preritaagarwal
Posts: 36
Joined: Thu Mar 12, 2020 11:21 am

Re: file incremental error in running mozbc

Post by preritaagarwal » Wed Mar 16, 2022 2:39 pm

Hi Blanca,

Were you able to solve the issue?


Best, Prerita

blanca_rios
Posts: 4
Joined: Thu Feb 04, 2021 6:49 pm

Re: file incremental error in running mozbc

Post by blanca_rios » Fri Mar 25, 2022 5:37 pm

Hello, yes I solved the problem, I had to modify a MOZBC module, send me a mail to berr86@gmail.com

Regards

Blanca

Post Reply

Return to “Chemistry-meteorology Interactions”