Skip to content
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

ModuleNotFoundError: xesmf #7

Closed
yvsathe14 opened this issue Jan 4, 2023 · 6 comments
Closed

ModuleNotFoundError: xesmf #7

yvsathe14 opened this issue Jan 4, 2023 · 6 comments

Comments

@yvsathe14
Copy link

yvsathe14 commented Jan 4, 2023

I followed the reame file to complete the installation. After running the script I am getting an error saying:
ModuleNotFoundError: No module named 'xesmf'

However I can see all the required modules installed in conda list.

Could you please guide me?

@quishqa @alvv1986

@quishqa
Copy link
Owner

quishqa commented Jan 5, 2023

Hi @yvsathe14 !
Did you use the Option A or Option B for installation?

Did you activate your environment before running? (conda activate PyChEmiss)

@yvsathe14
Copy link
Author

Hi @quishqa
I used Option A and yes I did activate the environment before running.

@yvsathe14
Copy link
Author

Hi @quishqa
To update you, I re-tried using option B and now the script is running. I will explore and let you know the progress.

@yvsathe14
Copy link
Author

Hi @quishqa
I am able to use the script now. But I have following queries:

  1. Can we add emissions at a specific vertical level or height using this script? I could not find vertical dimension setting in the script.
  2. The units if bith gaseous and aerosol species are set as "moles/km2/hour). The WRF-Chem requires emission units of aerosol species " ug/m2/s". How this is incorporated in the script.

@quishqa
Copy link
Owner

quishqa commented Jan 5, 2023

Hi,
I'm glad that option B works!

  1. The current version only works for surface emission. The original version in ncl has vertical level implementation. Check the files namelis4D.emissand AAS4WRFv1.4.ncl
  2. Yeah, that's true. All the species both gases and aerosol have the same units. Nevertheless, the script assumes that the values in the .txt file for gases are in mol/km2/hr and the aerossols in ug/m2/s.

Thanks for your comments, I'll try to correct these issues as soon as I can.

@yvsathe14
Copy link
Author

Hi @quishqa ,
Thank you for your support.
I am closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants