generated from stactools-packages/template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use fsspec for io. * Fix hardcoded usage of local file paths for href determination. * delete test data, switch to using remote read with fsspec in tests and example, change arg name to make it clear were using remote hrefs --------- Co-authored-by: emileten <[email protected]>
- Loading branch information
1 parent
81cc026
commit 97ce6ba
Showing
12 changed files
with
48 additions
and
691 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
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import pytest | ||
|
||
from stactools.nisar_sim.constants import NISAR_SIM_EXAMPLE_HREF | ||
|
||
|
||
@pytest.fixture | ||
def example_href() -> str: | ||
return NISAR_SIM_EXAMPLE_HREF |
333 changes: 0 additions & 333 deletions
333
...innip_31604_12061_004_120717_L090_CX_07/winnip_31604_12061_004_120717_L090_CX_129A_07.ann
This file was deleted.
Oops, something went wrong.
333 changes: 0 additions & 333 deletions
333
...innip_31604_12061_004_120717_L090_CX_07/winnip_31604_12061_004_120717_L090_CX_129B_07.ann
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-19.3 KB
.../winnip_31604_12061_004_120717_L090_CX_07/winnip_31604_12061_004_120717_L090_CX_129_07.h5
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from stactools.nisar_sim import metadata | ||
|
||
|
||
def test_MetadataLinks() -> None: | ||
href = ( | ||
"https://downloaduav.jpl.nasa.gov/Release2e/" | ||
"Haywrd_14501_08037_007_080729_L090_CX_01/" | ||
) | ||
metalinks = metadata.MetadataLinks(href=href, dither="X", nmode="X") | ||
assert ( | ||
metalinks.h5_href == "https://downloaduav.jpl.nasa.gov/Release2e/" | ||
"Haywrd_14501_08037_007_080729_L090_CX_01/Haywrd_14501_08037_007_080729_L090_CX_X_01.h5" | ||
) |
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