Hi thank you for a great video. I was wondering if you every encountered such error : forrtl: severe (64): input conversion error, unit -5, file Internal Formatted Read. My error files says my wrfchemi file was acceptable to use but keep encountering conversion error.
You mentioned towards the end of video that compile command needs to be run two times for compiling wrf-chem. I didn't understand that. Could you please explain that why it needs to be run twice and any further readings for that?
First compilation is for the main WRF/Chem model by "./compile em_real", and the second compilation is related to the emissions tools (prep_chem_sources, anthro_emiss, ...) by "./compile emi_conv". If you don't need emissions data (e.g. in case of dust modeling), you can ignore the second compilation.
@@amirhosseinnikfal968 Thanks, understood. I did that way. But your wording in tutorial sounded like we have to do compile em_real again after emi_conv. Thanks for explaining.
@@amirhosseinnikfal968please check from 4:00 minutes onwards. You go back to WRF directory and write ./compile and say you need run compile command twice. That created confusion. Anyways, it's all good.
If it's available in an hourly basis (e.g. ERA5 data), you can set it to one hour. But there are some other data, such as GFS data which are based on 3 or 6 hour intervals.
very good. when I compile WPS, I received some errors such as: "fatal error: jasper/jasper.h: No such file or directory 5 | #include "jasper/jasper.h" after I did not have *.exe files in WPS folder. how can I fix it?
Hello sir , This is a great tool, but some how the shaded coutour plot is not working for me while the other is working very fine, its all white all over the area, but the color bar is showing a range, Can you please help with this its very urgent! 🙏
Hi. Thank you again for the tutorials... I have some doubts...I would like to work with FINN database, its is possible? Or only work with GFED? And prep_chem its is only works with emiss_opt=301? Thank you
Hi. Any emissions data can be used. You just need to apply them on the grid points of your domain. emiss_opt for prep_chem is recommended to be 5. If you meant chem_opt, most options are okay with prep_chem If you have very detailed technical questions, please try to use GitHub.
Hi, thank very much for the tutorials.What can i use anthro_emiss for nested domains? could be similar to prep_chem? Also I was trying to use the antro tool, but when i execute ./make_anthro i have this error: Using /usr/bin/gfortran fortran compiler ============================================================================= ============================================================================= netcdf top level directory = /data/users/ysilva/WRF_CHEM4/WRF/COMPILER_gfortran/netcdf-install/ ============================================================================= /usr/bin/gfortran -g -c -I/data/users/ysilva/WRF_CHEM4/WRF/COMPILER_gfortran/netcdf-install//include misc_definitions_module.f90 /usr/bin/gfortran -g -c -I/data/users/ysilva/WRF_CHEM4/WRF/COMPILER_gfortran/netcdf-install//include constants_module.f90 /usr/bin/gfortran -g -c -I/data/users/ysilva/WRF_CHEM4/WRF/COMPILER_gfortran/netcdf-install//include mo_calendar.f90 /usr/bin/gfortran -g -c -I/data/users/ysilva/WRF_CHEM4/WRF/COMPILER_gfortran/netcdf-install//include anthro_types.f90 /usr/bin/gfortran -g -c -I/data/users/ysilva/WRF_CHEM4/WRF/COMPILER_gfortran/netcdf-install//include mapper_types.f90 /usr/bin/gfortran -g -c -I/data/users/ysilva/WRF_CHEM4/WRF/COMPILER_gfortran/netcdf-install//include area_mapper.f90 /usr/bin/gfortran -g -c -I/data/users/ysilva/WRF_CHEM4/WRF/COMPILER_gfortran/netcdf-install//include anthro_utils.f90 /usr/bin/gfortran -g -c -I/data/users/ysilva/WRF_CHEM4/WRF/COMPILER_gfortran/netcdf-install//include data_file_utils.f90 data_file_utils.f90:251.132: ind=8) + .5_8*(real(src_lons(nlon_src),kind=8) - real(src_lons(nlon_src-1), 1 Error: Syntax error in argument list at (1) Makefile:40: recipe for target 'data_file_utils.o' failed make: *** [data_file_utils.o] Error 1 Failed to build anthro_emis
For nested domains you need to run the utility for each domain separately. Than is a compiler issue. There is one issue before the installation you must consider before the compilation. I mentioned it in the installation video.
@@amirhosseinnikfal968 Thank you. May I ask you one more question? In the wrf-chem manual,there is a namelist option called 'dmsemis_opt'. I want to set it to 1, but I don't know how to provide dms reference field. Do you have any suggestion?
hello when I am running my model even without chemistry option it is taking too much time and with chem_opt= 301, for d01 approx 300 elapsed seconds , for d02 90 seconds and for d03 10 sec. even to run a 10 day data it is taking ages. I am running on hpc with 36 processors with mpirun -np 36 ./wrf.exe. What could be the reason ?
Do I need the waccm file to be of the same start time as specified in wrf input file? i tried running with waccm of feb 2022 but in my namelist start time is from Dec 2021 and i ran into an error mozbc couldnt read the variables of my wrfinput file. After successfully running of mozbc_input.sh the variable spc_map was empty in mozbc.inp even the wrfinput_vars.txt shows no species it only showsType: float
@@amirhosseinnikfal968 i am running for a whole year, this time period cannot be encompassed in waccm file as , a max of 31 day file can be downloaded. What can I do to solve this?
@@rage4455 You can merge all files to one file representing the whole year. You can use NCO commands. Something like below (all files are appended to file3.nc) ncks -A file1.nc file2.nc file3.nc PS: Please preferably make issues on GitHub if you have technical questions.
Hi. You can use PostWRF's documentations and training videos: ru-vid.com/group/PL93HaRiv5QkCOWQ4E_Oeszi9DBOYrdNXD&si=xj-T8GjbAboNXCxu postwrf.readthedocs.io/en/latest/
Hi, i have the same error :Timing for Writing wrfout_d01_2023-08-01_00:00:00 for domain 1: 1.94781 elapsed seconds mediation_integrate: med_read_wrf_chem_emissions: Read emissions for time 2023-08-01_00:00:00 mediation_integrate: med_read_wrf_chem_emissions: Open file wrfchemi_d01_2023-08-01_00:00:00 -------------- FATAL CALLED --------------- FATAL CALLED FROM FILE: <stdin> LINE: 2414 med_read_wrf_chem_emissions: error opening wrfchemi_d01_2023-08-01_00:00:00. I try to solve like you do, but it doesn´t work for me. Do you have any idea what I could be doing wrong?
Hi. Which error? Actually here is not the best place for such detailed discussions. You can make an issue on GitHub, providing all the information about the error: github.com/anikfal/atmospheric_science
Hi! Thank you very much for your useful video. I am wondering what should we do with the invariables like land-sea mask, geopotential.grib. Also, if I put my surface and pressure level data into one folder, can I link them all at once? ./link_grib.csh /run_test/ *
Dear Ami. thank you so much for the video, help me a lot! Can I ask, if after running the ./compile from the folder WPS22 folder, I have to run the ./compile form the WRF folder? , thank you so much!
Hello, I encountered an issue while using the WRF model to map NH3 pollution. I ran the command "./real.exe" with the parameter "chem_opt=10" to incorporate NH3 into my WRF input file. However, despite successfully running "real.exe" without any errors, I noticed that there are no pollutants present in the WRF input file. Could you please provide guidance or assistance on how to resolve this issue and ensure that the pollutants, specifically NH3, are correctly incorporated into the WRF output? Thank you.
This situation is not totally clear to me. However, try to run real.exe with chem_opt=301, and after making the emissions data (before running wrf.exe), change it to 10.
Event when running `real.exe` with chemistry option 301 enabled. It appears that pollutants aren't being correctly integrated into the `wrfinput` file. And after running `wrf.exe`, the resulting `wrfoutput` file only contains meteorological and geological variables, lacking the expected pollutants. And I am not available to figure out the issue.
What kind of atmospheric data are you trying to ungrib? The available Vtables can support the frequently used ones, including GFS, FNL, and ECMWF (ERA5).
@@amirhosseinnikfal968 I'm currently using CMIP5 future scenarios, which are giving me only intermediate files and the data description is saying not to run ungrib.exe, so should I create an extra Vtable??? Or is it not required at all??
@@tanmoy_sen I am not familiar with CMIP5. However, you can give it a try, according to wolfscie.wordpress.com/2017/05/05/working-with-cmip5-data-in-wrf-1
thank you very much for these tutorials. These videos are helping me a lot to learn the basics in wrf chem. For this tutorial, when i tried to run real.exe, it is telling me that I am missing the met_em_d01 file. Could you please indicate the location of data needed for running wps before real.exe here?
Have you run WPS successfully? If so, the error is self-describing. You need to link the met_em_d0 data from your WPS directory to your WRF run or test directory: ln -s path_to_wps/met_em_d0* path_to_wrf
@@amirhosseinnikfal968 thank you very much for the reply. I missed the WPS part back then. Now I've come over the issue. Thanks again for such helpful tutorials.
Thank you so much, I have WRF with chem and the 3 exe files ( wrf, real, tc) exist in the em_real dir, however, when ,/compile emi_conv I got WARNING: There is no 4D array named emis_ant so whats wrong with it?
Hi. I cannot comment on this issue since I don't have enough information about it. However, if it is a warning message, and if convert_emiss.exe has been generated, you can ignore it. For the next times if you have technical questions, please try to make issues on GitHub. There would be the best place to discuss such issues.
thanks for replaying but the error when i open the nc file in grads this error appear Warning (cdf_set_var): Inconsistent variable definition for XLAT! Warning (cdf_set_var): Inconsistent variable definition for XLONG! Warning (cdf_set_var): Inconsistent variable definition for XLAT_U! Warning (cdf_set_var): Inconsistent variable definition for XLONG_U! Warning (cdf_set_var): Inconsistent variable definition for XLAT_V! Warning (cdf_set_var): Inconsistent variable definition for XLONG_V! Warning (cdf_check_variables): Unsupported data type (char/string), skipped variable Times! Warning (cdfInqContents): Coordinates variable XTIME can't be assigned!@@amirhosseinnikfal968
Hi, i found this "More than one task is on Select only one task or section in namelist.wrf and run again" after running ./postwrf and I did everything same as you did
Hi. When executing the make command OPT=gfortran.wrf CHEM=RADM_WRF_FIM the following error message appears: /usr/bin/ld: could not find -lhdf5: Nonexistent file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:37: ../prep_chem_sources_RADM_WRF_FIM_.exe] Error 1 Do you have any suggestions for solving this error? I couldn't find anything that worked.
HI. Could you make a profile at GitHub and discuss such technical issues there. RU-vid is not the best place for tracking such problems! Anyway, it seems the HDF5 library is missing, and you're supposed to install it before the compilation.
@@amirhosseinnikfal968 I've installed the hdf5 library and added the library directory to the include.mk.gfortran.wrf file, but the error still continues for the lhdf5lh_fortran file. As soon as I can, I'll create a github account to explain what I've done in more detail.
@@mateusmoreira3903 If you have access to the superuser, try to install it by <sudo yum install hdf5*>, or something similar to this command. Maybe there are some issues with your installation or path to the libraries ...
@@amirhosseinnikfal968 The command corrected the previous error, but this error remained. /usr/bin/ld: could not find -lnetcdf: Non-existent file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:37: ../prep_chem_sources_RADM_WRF_FIM_.exe] Error 1 I installed the netcdf library with the command sudo yum install netcdf*, but the error continued.
Hi. You can use PostWRF's documentations and training videos: ru-vid.com/group/PL93HaRiv5QkCOWQ4E_Oeszi9DBOYrdNXD&si=xj-T8GjbAboNXCxu postwrf.readthedocs.io/en/latest/
Very nice tutorial, thank you. I have a question. I have retrieved ERA5 data using your codes and tried running my own test case. However, when I run real.exe I get this error: -------------- FATAL CALLED --------------- FATAL CALLED FROM FILE: <stdin> LINE: 3110 grid%tsk unreasonable Digging into the WRF-ARW forum it may seem related to land_sea_mask variable, but I can see it's requested in your Python code. Any suggestion? Thanks!
Hi. The codes have been tested successfully for many WRF runs, and there is no necessary variable that is missed by them. Maybe the region (lat/lon) you specified in the codes are smaller than your WPS domain (geo file).
Hello, first thanks for the tutorial, I got the same error as mentioned there from @fabiodioguardi5065 (I made sure i have the same region (lat/lon) of my WPS), were you able to find a solution ? @fabiodioguardi5065
@@Mary-joeMedlej Did you use the code discussed in this video to download ERA5 data? I tested it again and could run the model without such a problem. You can send me your namelists and your ERA5 data. I'll inspect them ...
Hi,.. i found this when I run ./postwrf.sh ./modules/main.sh: line 777: ncl_filedump: command not found ./modules/main.sh: line 778: ncl_filedump: command not found ./modules/main.sh: line 779: ncl_filedump: command not found ./modules/main.sh: line 780: ncl_filedump: command not found ./modules/main.sh: line 781: ncl_filedump: command not found Could you give me some suggestions about this errors.
Hi. It is apparently showing that NCL is not installed on your machine. Please try to discuss your issues on the Github page, if you have a profile there: github.com/anikfal/PostWRF