samirakarbasi
New member
Hi, I hope you are doing well. My name is Samira. I am trying to run WRF-Chem in two different months, but continuously. I will be appreciate if you can help me
I have one question about running WRF-Chem from 25 January to 10 February (for example, the year 2022, which involves two months) in producing emission files and filling WRF-input and WRFbdy_d01 in mozbc and script. As I always do running during only one month, I do these steps:
When I want to run the WRF-Chem model, I need some initial data and preliminary executions. In the "chem_opt=0" state, I run "real.exe" first. Then, based on my namelist and the path of the WRF-Chem file (i.e., the WRF directory and "run" directory) and emission data file from the MOZBC data archive (waccm-20240509022254393025.nc and anthropogenic data:edgar_v5_MOZART), I execute the "./mozbc" and "./anthro_emis" executables and provide wrfchemi_d02_2022-03-10_18:00:00 files and fill wrfbdy and wrfinput files due to the script below:
namelist:
start_year = 2022, 2022, 2022,
start_month = 01, 01, 01,
start_day = 11, 11, 11,
start_hour = 00, 00, 00,
end_year = 2022, 2022, 2022,
end_month = 01, 01, 01,
end_day = 19, 19, 19,
end_hour = 00, 00, 00,
mozbc script:
&control do_bc = .false.
do_ic = .true.
domain =3
dir_wrf = '/gpfs/projects/umh82/WRF-4.5.2/WRF-4.5.2/run/'
dir_moz = '/gpfs/projects/umh82/Data/mozbc/' fn_moz = './waccm-20240509022254393025.nc' (only one month and one file!)
moz_var_suffix= '',
met_file_suffix ='.nc'
met_file_separator ='.'
def_missing_var = .true.
anthro_emiss script: CONTROL domains = 3, anthro_dir = './edgar_v5_MOZART/' wrf_dir = '/gpfs/projects/umh82/WRF-4.5.2_2022_march/WRF-4.5.2-support_main/run/' src_file_prefix = 'edgar_v5_2015_' (only one month and one file!)
After that, I change "chem_opt" from 0 to, for example, 300 GOCART schemes. Then, considering the initial emission files created, I run the model ./wrf.exe. This is the process I used when I wanted to run the model, for example, from January 10th to January 20th. It was all within one month.
Now: However, now I have encountered an issue and a question. If I need to specify data from, for example, January 25th to February 10th in 2022, then the files I create for "mozbc" and "anthropogenic data edgar" are from two different months. In the name list of "mozbc script" and "anthro_emiss script," I provide the address of the file, and my own name list inside the model handles the interaction between two different months. I want to know how to produce these emissions and what to put in the "fn_moz =" and "src_file_prefix =" lines of the "mozbc script" and "anthro_emiss script," respectively, so that the model can understand it needs to use two different data files and not just one. but it involved two months:
namelist:
start_year = 2022, 2022, 2022,
start_month = 01, 01, 01,
start_day = 25, 25, 25,
start_hour = 00, 00, 00,
end_year = 2022, 2022, 2022, (Here are two months involved.)
end_month = 02, 02, 02,
end_day = 10, 10, 10, end_hour = 00, 00, 00,
mozbc script:
&control
do_bc = .true.
do_ic = .true.
domain =3 dir_wrf = '/gpfs/projects/umh82/WRF-4.5.2/WRF-4.5.2/run/'
dir_moz = '/gpfs/projects/umh82/Data/mozbc/'
fn_moz = './waccm-20240509022254393025.nc' (Here are two months involved, and I have two emission files!) ??????/
moz_var_suffix= '',
met_file_suffix ='.nc'
met_file_separator ='.'
def_missing_var = .true.
anthro_emiss script:
CONTROL domains = 3,
anthro_dir = './edgar_v5_MOZART/'
wrf_dir = '/gpfs/projects/umh82/WRF-4.5.2_2022_march/WRF-4.5.2-support_main/run/'
src_file_prefix = 'edgar_v5_2015_' (Here are two months involved, and I have two emission files!) ??????
Thank you very much for all your help and guidance Samira
I have one question about running WRF-Chem from 25 January to 10 February (for example, the year 2022, which involves two months) in producing emission files and filling WRF-input and WRFbdy_d01 in mozbc and script. As I always do running during only one month, I do these steps:
When I want to run the WRF-Chem model, I need some initial data and preliminary executions. In the "chem_opt=0" state, I run "real.exe" first. Then, based on my namelist and the path of the WRF-Chem file (i.e., the WRF directory and "run" directory) and emission data file from the MOZBC data archive (waccm-20240509022254393025.nc and anthropogenic data:edgar_v5_MOZART), I execute the "./mozbc" and "./anthro_emis" executables and provide wrfchemi_d02_2022-03-10_18:00:00 files and fill wrfbdy and wrfinput files due to the script below:
namelist:
start_year = 2022, 2022, 2022,
start_month = 01, 01, 01,
start_day = 11, 11, 11,
start_hour = 00, 00, 00,
end_year = 2022, 2022, 2022,
end_month = 01, 01, 01,
end_day = 19, 19, 19,
end_hour = 00, 00, 00,
mozbc script:
&control do_bc = .false.
do_ic = .true.
domain =3
dir_wrf = '/gpfs/projects/umh82/WRF-4.5.2/WRF-4.5.2/run/'
dir_moz = '/gpfs/projects/umh82/Data/mozbc/' fn_moz = './waccm-20240509022254393025.nc' (only one month and one file!)
moz_var_suffix= '',
met_file_suffix ='.nc'
met_file_separator ='.'
def_missing_var = .true.
anthro_emiss script: CONTROL domains = 3, anthro_dir = './edgar_v5_MOZART/' wrf_dir = '/gpfs/projects/umh82/WRF-4.5.2_2022_march/WRF-4.5.2-support_main/run/' src_file_prefix = 'edgar_v5_2015_' (only one month and one file!)
After that, I change "chem_opt" from 0 to, for example, 300 GOCART schemes. Then, considering the initial emission files created, I run the model ./wrf.exe. This is the process I used when I wanted to run the model, for example, from January 10th to January 20th. It was all within one month.
Now: However, now I have encountered an issue and a question. If I need to specify data from, for example, January 25th to February 10th in 2022, then the files I create for "mozbc" and "anthropogenic data edgar" are from two different months. In the name list of "mozbc script" and "anthro_emiss script," I provide the address of the file, and my own name list inside the model handles the interaction between two different months. I want to know how to produce these emissions and what to put in the "fn_moz =" and "src_file_prefix =" lines of the "mozbc script" and "anthro_emiss script," respectively, so that the model can understand it needs to use two different data files and not just one. but it involved two months:
namelist:
start_year = 2022, 2022, 2022,
start_month = 01, 01, 01,
start_day = 25, 25, 25,
start_hour = 00, 00, 00,
end_year = 2022, 2022, 2022, (Here are two months involved.)
end_month = 02, 02, 02,
end_day = 10, 10, 10, end_hour = 00, 00, 00,
mozbc script:
&control
do_bc = .true.
do_ic = .true.
domain =3 dir_wrf = '/gpfs/projects/umh82/WRF-4.5.2/WRF-4.5.2/run/'
dir_moz = '/gpfs/projects/umh82/Data/mozbc/'
fn_moz = './waccm-20240509022254393025.nc' (Here are two months involved, and I have two emission files!) ??????/
moz_var_suffix= '',
met_file_suffix ='.nc'
met_file_separator ='.'
def_missing_var = .true.
anthro_emiss script:
CONTROL domains = 3,
anthro_dir = './edgar_v5_MOZART/'
wrf_dir = '/gpfs/projects/umh82/WRF-4.5.2_2022_march/WRF-4.5.2-support_main/run/'
src_file_prefix = 'edgar_v5_2015_' (Here are two months involved, and I have two emission files!) ??????
Thank you very much for all your help and guidance Samira