Closed kls2177 closed 8 months ago
Hi Karen!
I actually already fixed those issues in the "dev" branch of the Python package. I have to update the tutorial and will upload a new version to PyPI by Monday. If you can't wait until Monday, you can download the package from GitHub and install it locally using pip. Otherwise, the fixed version will be published soon.
Ty
On Thu, Apr 4, 2024 at 6:59 PM Karen Smith @.***> wrote:
Hi Tyler,
I have a Master's student who is going to be using your package. I have asked them to go through your tutorial and we are having some issues:
- We are having trouble downloading the data. The python -m climkern download command is giving us a hash error (screenshot attached Error1.pdf https://github.com/tyfolino/climkern/files/14877923/Error1.pdf ).
- I manually downloaded data.zip from Zenodo and added to the package directory, but then I get an error (second screenshot attached
Error2.png (view on web) https://github.com/tyfolino/climkern/assets/13908222/29c77a37-479b-4097-96f8-c21812865090 ) when running the following line of code from the tutorial:
ck.calc_T_feedbacks(ctrl.T,ctrl.TS,ctrl.PS,pert.T,pert.TS,pert.PS,pert.TROP_P,kern="GFDL")
. I think this error is related to the fact that the tutorial data is already a climatological average.Advice about how to work around this and run the tutorial would be great. Thanks!
— Reply to this email directly, view it on GitHub https://github.com/tyfolino/climkern/issues/14, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRR5PVKURRW3ROM4HXS4LTY3XLOPAVCNFSM6AAAAABFYEBPBSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZDMNRVHA2DQMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thanks! Monday is perfect.
I updated the README with new installation instructions and put the latest release on PyPI. After testing, I no longer encounter the same errors as you. I'm going to close the issue for now, but if you're still having problems, let me know, and I will reopen it!
Hi Tyler,
I have a Master's student who is going to be using your package. I have asked them to go through your tutorial and we are having some issues:
We are having trouble downloading the data. The
python -m climkern download
command is giving us a hash errorI manually downloaded data.zip from Zenodo and added to the package directory, but then I get an error when running the following line of code from the tutorial:
ck.calc_T_feedbacks(ctrl.T,ctrl.TS,ctrl.PS,pert.T,pert.TS,pert.PS,pert.TROP_P,kern="GFDL")
I think this error is related to the fact that the tutorial data is already a climatological average.
Advice about how to work around this and run the tutorial would be great. Thanks!