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

Diurnal test off #575

Merged
merged 4 commits into from
Sep 24, 2018
Merged

Diurnal test off #575

merged 4 commits into from
Sep 24, 2018

Conversation

doutriaux1
Copy link
Contributor

No description provided.

Test were expecting same pattern for all json file, but it depends on the script ran, added a parm to runJSONEr for this
Input datsa where expcted to be in some local directory but they are now pre-downloaded by test suite and in cdat_info.get_sampledata_path() location
@gleckler1
Copy link
Contributor

@doutriaux1
Copy link
Contributor Author

No this is the test suite itself, turns out most tests were turned off....

@gleckler1
Copy link
Contributor

@doutriaux1 OK.... any luck with getting the param file working?

@doutriaux1
Copy link
Contributor Author

baby steps @gleckler1

@coveralls
Copy link

coveralls commented Sep 24, 2018

Pull Request Test Coverage Report for Build 538

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 35.328%

Totals Coverage Status
Change from base Build 527: 0.0%
Covered Lines: 909
Relevant Lines: 2573

💛 - Coveralls

@@ -77,7 +77,7 @@ def compute(params):
nlats = dimensions[1]
nlons = dimensions[2]
deltaH = 24. / N
dayspermo = tvarb.shape[0] / N
dayspermo = tvarb.shape[0] // N
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to be safe, you might want to have from __future__ import division. This will use the Python 3 way of dividing, if that's what you wanted. I'm not too sure if that's what you were aiming for however.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're right @zshaheen updating now, I'm surpised py2 passed.

Copy link
Contributor

@zshaheen zshaheen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now.

@gleckler1
Copy link
Contributor

@doutriaux1 For whatever reason - I'll take it - diurnal example param file is now working.

@gleckler1 gleckler1 merged commit f8c6d01 into master Sep 24, 2018
@doutriaux1 doutriaux1 deleted the diurnal_test_off branch September 24, 2018 21:27
@doutriaux1
Copy link
Contributor Author

@gleckler1 look at you, all brave and confident! Thx!

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

Successfully merging this pull request may close these issues.

None yet

4 participants