-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✅ Document and test data catalog loading functionality
Ensure that the ATLAS intake catalog is able to be loaded, and secretly document it's usage a little bit. Make the Github Actions test pass by busting the poetry cache through bumping json5 from 0.9.4 to 0.9.5.
- Loading branch information
Showing
4 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,17 @@ | ||
from deepicedrain import __version__ | ||
import intake | ||
|
||
from deepicedrain import __version__, catalog | ||
|
||
|
||
def test_version(): | ||
assert __version__ == "0.1.0" | ||
|
||
|
||
def test_deepicedrain_catalog(): | ||
""" | ||
Test that the intake ATLAS data catalog can be loaded via both | ||
`deepicedrain.catalog` and `intake.cat.atlas_cat` | ||
""" | ||
catalog_entries = ["icesat2atlasdownloader", "icesat2atl06", "test_data"] | ||
assert list(catalog) == catalog_entries | ||
assert list(intake.cat.atlas_cat) == catalog_entries |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.