fzhu2e / LMRt

LMR Turbo, a lightweight implementation of the LMR framework
https://fzhu2e.github.io/LMRt
GNU General Public License v3.0
9 stars 4 forks source link

'Spharmt' is not defined #3

Open DaveEdge1 opened 1 year ago

DaveEdge1 commented 1 year ago

Hello again Feng,

Thank you again for your quick response to my last issue.

I am having trouble with gridded.py. I see that imports from spharm were removed (I presume because that package is no longer maintained). Within gridded.py regrid is defined and used while Spharmt is used but not defined. I believe this may be the source of my error (NameError: name 'Spharmt' is not defined) shown below:

image

Any help much appreciated!

-Dave

fzhu2e commented 1 year ago

Hi Dave,

Thanks for catching this. I just fixed it in version 0.8.6; please upgrade. The package pyspharm can be installed via: conda install -c conda-forge pyspharm .

Cheers, Feng