-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About photolysis_mod.F90 #2641
Comments
Hi @ChenBHXMU, the indexes there have been hard-coded since 2013, with a comment that they are from geos-chem/GeosCore/aerosol_mod.F90 Lines 2481 to 2497 in 6bbd81f
NRHAER is referring to the number of the hygroscopic growth aerosols in the model defined in geos-chem/Headers/CMN_SIZE_mod.F90 Lines 45 to 46 in 6bbd81f
So where does geos-chem/GeosCore/photolysis_mod.F90 Lines 850 to 862 in 6bbd81f
You can take a look at your Cloud-J dat-file
In total, the MIEDX array has 3 entries for clouds, 7 entries for dust, 7 entries for each of the 5 hygroscopic growth aerosols used in the model, and 2 entries for stratospheric aerosols. This is because we have optical properties for each of those stored in The mappings in MIEDX for hygroscopic growth aerosols are set like this: geos-chem/GeosCore/photolysis_mod.F90 Lines 864 to 869 in 6bbd81f
Here is where it is important to understand where these constants are coming from. All are stored in file geos-chem/Headers/CMN_SIZE_mod.F90 Lines 42 to 55 in 6bbd81f
You should only need to expand I hope this helps! |
Dear @lizziel , Thank you for your patient guidance. However, the FJX_spec-aer.dat file seem be no longer accessible. I have found the FJX_spec.dat file, but its content does not match that of the FJX_spec-aer.dat. I cann't locate the FJX_spec-aer.dat file. What steps should I take to resolve this issue? Thank you so much! Best regards, |
Hi @ChenBHXMU, the |
Dear @lizziel , I'm glad to receive your message. However, I still can't find the FJX_spec-aer.dat file after searching my computer globally. A friend pointed out that the file might be ExtData/CHEM_INPUTS/FAST_JX/v2019-06/jv_spec_mie.dat, but I also couldn't find this file. I think it might be due to version differences. My version is 14.4.3. Could you provide further assistance? Thank you for your help. Best regards, |
Ah, I think the confusion is the filename is actually |
Please note you can search for strings in the code using
Then you will get this, which shows the correct name of the file:
Getting familiar with this method of searching will be essential if you plan on doing a major code update to the model. |
Dear @lizziel , Thank you for your patient guidance. However, I still have some issues that I cannot resolve. I would like to further subdivide the Fine mode and the Coarse mode. Split the Fine mode into two, and also split the Coarse mode into two. The main modifications are as follows: geos-chem/Headers/CMN_SIZE_mod.F90: GEOS-Chem/GeosCore/photolysis_mod.F90: GEOS_Chem/GeosCore/aerosol_mod.F90:
GEOS-Chem/GeosCore/cldj_interface_mod.F90:
` ! Aerosol indexes (must match mapping set in RD_AOD)
The issue arises from: R_interp_factor = RAA_eff / RAA(K_rhx), where RAA(K_rhx) could be 0. Thank you for your help, looking forward to your reply. Best regards, |
Hi Baihua, if you are reusing the same optical properties for the new species, e.g. same for both bins of coarse, I would think you could add the concentrations together to use for photolysis. This would avoid the hassle of expanding arrays used in photolysis based on the new species. If this is not a viable option for your research then I suggest that you add prints to figure out why there is no value for RAA for certain values of |
Your name
Baihua Chen
Your affiliation
Xiamen University
Please provide a clear and concise description of your question or discussion topic.
Dear @lizziel ,
I hope this message finds you well!
Currently, sea salt only includes SALC and SALA. I am researching how to add two mode for sea salt. However, I encountered the following issues while optimizing the code. I have tried my best to resolve them, but I still don't know how to modify the photolysis_mod.F90 file. I don't understand the specific values in the code IND = (/22,29,36,43,50/). How were 22, 29, 36, 43, 50 obtained? How can I optimize this code at the moment?
Thank you for your help!
Best regards,
Baihua Chen
The text was updated successfully, but these errors were encountered: