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

cice.t-test.py script #710

Closed
dabail10 opened this issue Apr 18, 2022 · 9 comments
Closed

cice.t-test.py script #710

dabail10 opened this issue Apr 18, 2022 · 9 comments

Comments

@dabail10
Copy link
Contributor

Hi all,

This was written for the QC testing in 2017 by @mattdturner. I know Matt is no longer actively involved here. I have found out that Basemap is not really supported anymore in python and there is a move to CartoPy. I am willing to update this, but I wanted to make sure someone else has not done this already.

@dabail10 dabail10 self-assigned this Apr 18, 2022
@apcraig
Copy link
Contributor

apcraig commented Apr 18, 2022

I don't think anyone else has made updates recently. Thanks @dabail10.

@dabail10
Copy link
Contributor Author

Turns out just had to do a pip install basemap to get it working. I will still work on updating to CartoPy.

@apcraig
Copy link
Contributor

apcraig commented Apr 18, 2022

I'm open to changing to something other than python for the QC testing if you think it makes sense. I've often struggled getting the python setup, both across platforms and over time. This basemap thing seems typical of the kinds of things I've encountered. I always assumed it was just me that struggled, but if it's too dynamic, maybe we should consider other options.

@phil-blain
Copy link
Member

I think Python is the perfect language for this kind of thing, I would definitely vote for keeping this script in Python, and work towards moving to Cartopy instead of basemap.

@dabail10 You could have used the conda environment (https://cice-consortium-cice.readthedocs.io/en/master/user_guide/ug_running.html#using-the-conda-configuration), this would have installed all needed packages for the plotting scripts :)

@apcraig
Copy link
Contributor

apcraig commented Aug 1, 2022

This was addressed in #727 and #742

@apcraig apcraig closed this as completed Aug 1, 2022
@dabail10 dabail10 reopened this Aug 4, 2022
@dabail10
Copy link
Contributor Author

dabail10 commented Aug 4, 2022

@darincomeau noticed that this script reads in the T-test criteria from a file. I'm curious to know if there was a particular reason that @mattdturner did it this way? Ideally, we could be using some internal python libraries.

@dabail10 dabail10 reopened this Aug 4, 2022
@dabail10
Copy link
Contributor Author

Did we already redo this in cartopy? @daveh150 @phil-blain

@daveh150
Copy link
Contributor

This script was updated to use cartopy in #742.

The cice.t-test.py script still uses the lookup table files. There is a stats module within scipy, but I have not used it. I need to learn more to see if it could replace using look-up files.

I suggest we close this issue since it is vague, and open a separate issue to investigate using scipy test instead of lookup files.

@daveh150
Copy link
Contributor

Since update to Cartopy was accomplished in #742, and the title of this issue is very general, I am closing this issue. I will open a separate issue to investigate alternatives to look-up tables for the T-Test.

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

No branches or pull requests

4 participants