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

periodicity warnings #126

Closed
dnadeau4 opened this Issue Apr 28, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@dnadeau4
Contributor

dnadeau4 commented Apr 28, 2017

When values of longitude are 0-360, periodicity is warning users about changing bounds, bounds should only be adjusted when values are from -180,180.

Your first bounds[0,0] 0.000000000000000 will be corrected to 0.000000000000000
Your bounds bounds[-1,1] 360.000000000000000 will be corrected to 360.000000000000000
warnings.warn(msg,UserWarning)

@dnadeau4 dnadeau4 changed the title from periodicy warning. to periodicity warning. Apr 28, 2017

@dnadeau4 dnadeau4 changed the title from periodicity warning. to periodicity warnings Apr 28, 2017

@dnadeau4 dnadeau4 self-assigned this Apr 28, 2017

dnadeau4 added a commit that referenced this issue Apr 28, 2017

@dnadeau4 dnadeau4 closed this in aae8ee6 May 1, 2017

@doutriaux1 doutriaux1 modified the milestone: 2.10 May 5, 2017

doutriaux1 added a commit that referenced this issue May 10, 2017

Pep8 (#132)
* fix #126  periodicity bounds to be changed only for value -180,180

* pep8 tests

* pep8 MV2.py and run tests

* pep8 dataset.py

* pep8 axis.py

* pep8 variable.py

* pep8 bindinex.py and cache.py

* fix pep8 tests and fill_value

* pep8 mv*.py

* pep8 CDML and cdms*.py

* pep8 gs*.py

* pep8 avariable.py

* pep8 cdurl*.py

*  internattr.py cudsinterface.py hgrid.py gui.py grid.py

*  gengrid.py forecast.py sliceut.py

* slabinterface.py selectors.py restApi.py __init__.py

* pep8 cdscan.py

* CDML.py MV2.py cdmsNode.py cdscan.py fvariable.py gengrid.py grid.py tvariable.py

* flake8 axis.py

* flake8 axis.py

* axis.py dataset.py tvariable.py

* gsHost.py gsMosaic.py gsStaticVariable.py gsTimeVariable.py sliceut.py variable.py

* CDMLParser.py auxcoord.py avariable.py cache.py cdmsNode.py cdmsURLopener.py cdmsobj.py

* cdurlparse.py cdxmllib.py convention.py

* coord.py cudsinterface.py database.py forecast.py fvariable.py

* gengrid.py grid.py gsStaticVariable.py gui.py

* Lib/MV2.py

* mvCdmsRegrid.py mvSphereMesh.py myproxy_logon.py

* finish all files and add test

* fix __init__.py and grid.py

* fix flake8 on axis.py

* add flake8 to conda install

* flake8 and pep8 regrid2/Lib

* add flake8 to travis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment