-
Notifications
You must be signed in to change notification settings - Fork 112
Adding PO.DAAC data source along with the tests #383
Conversation
Merged build triggered. Test Failed. |
Merged build triggered. Test Failed. |
@Omkar20895 @lewismc Do you know how we will handle this as a dependency? If we opt to not ship the source code from We should also consider adding the podaac loader to the list of default loaders in |
@agoodm we are pushing the third party library to Pypi. It won't be an issue. This PR is just a start and is not ready yet by any means. Thanks fro reviewing. |
@Omkar20895 can you make sure that all of this code is PEP8 formatted? Thanks |
@Omkar20895 can you also please squash your commits into one and edit the commit message to be "CLIMATE-769 Create data source input for NASA JPL PO.DAAC" |
@lewismc sure thing! |
Merged build triggered. Test Failed. |
@Omkar20895 I'll repeat what I said above
Thanks |
@jarifibrahim what does this failure mean? |
@lewismc The exception can be fixed by renaming |
@lewismc I got that earlier, i had some merge conflicts while I was squashing and it was late at night, so I figured I would solve them in the morning, I will work on it now, sorry for the delay, Thanks. |
Merged build triggered. Test Failed. |
@jarifibrahim thanks for looking into this. |
@Omkar20895 @lewismc Would it be easier if we merge this PR anyway and updating the tests later? |
@lewismc I think the failure of the tests is due to some other module but not podaac, I have run the tests cases in my local machine all the tests related to podaac data source are running OK. Thanks. @huikyole I agree with you, the branch is quite stable with just one documentation update on its way. With that update I think we can merge this branch. Thanks. |
The documentation of dap.py is broken and also when I try to build the documentation locally I get the error, theme not found. Someone please check this. Thanks. Edit : I have changed the documentation theme to the theme that we used in podaacpy toolkit and it worked, so am I allowed to change the theme here?? Thanks. |
Merged build triggered. Test Failed. |
In this latest commit I have added,
Issues to be addressed
Thanks. |
@huikyole if the tests are broken then we are not merging... that doesn't make sense.
and
Please submit pull requests in addition to this PR such that the tests become stable in TravisCI. Once that is done, please open Tickets for both of the above issues you;ve highlighted and I will work with you to resolve them. |
d = netcdf_dataset(path, mode='r') | ||
dataset = d.variables[variable] | ||
|
||
# By convention, but not by standard, if the dimensions exist, they will be in the order: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make this Python function documentation rather than hidden docs please.
@Omkar20895 here you go |
Merged build triggered. Test Failed. |
@@ -9,3 +9,4 @@ esgf-pyclient>=0.1.6 | |||
python-dateutil>=2.5.3 | |||
mock>=2.0.0 | |||
myproxyclient>=1.4.3 | |||
podaacpy>=1.0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once this is upgraded to 1.0.2 we are good to merge this patch. Thanks @Omkar20895
Finally!! The build passed OK! 😄 @lewismc I will add in a commit and merge it, Thanks. |
+1 please do. |
Merged build triggered. Test Failed. |
@lewismc I think the new version luckily does not affect the present behaviour of podaac_datasource since podaac_datasource depends solely on search_granule and dap which are intact in the new version compared to the previous version. Thanks. |
Cool, if travis-ci build is stable then please merge with master. |
That's odd, the tests failed in dap.py and I haven't even touched dap.py in this PR. edit : I am sending a trivial update to trigger travis-ci again to check if its a false alarm raised by travis. Thanks. |
Merged build triggered. Test Failed. |
@lewismc you are right, the search_granule has been compromised 😅 , they have removed the shortName option from it, this PR is gonna take a while to get merged now. we need to update podaacpy and release a new version. |
Merged build triggered. Test Failed. |
Merged build triggered. Test Failed. |
To conclude the PR:
@lewismc can I get a '+1' for merge now? Thanks. |
Hi @Omkar20895 yes please. Go ahead and merge. We can work on Podaacpy 1.1.0 and then update here when necessary. Thanks very much. Excellent work and very well done over the summer. |
Pheww! The PR is merged and with this my GSOC would have come to an end, but obviously PO.DAAC JPL doesn't want that(:P). Anyways it has been a really good learning experience and I would definitely continue to contribute to this project. P.S : @agoodm we need to starting working on making a conda recipe for podaacpy. Thanks. |
@Omkar20895 I have already made the JIRA issue for it. I can quickly get this done next week. |
@agoodm thank you very much! |
@agoodm please reach out to us for any issues. |
Any suggestions are welcome, Thanks.