-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add kwargs to xarrayReader methods for compatibility (#762)
* add kwargs to xarrayReader methods for compatibility * add netcdf backend * add get_asset_list method * add STAC+netcdf example
- Loading branch information
1 parent
9a39c80
commit 9fd7107
Showing
12 changed files
with
817 additions
and
12 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
{ | ||
"type": "Feature", | ||
"stac_version": "1.0.0", | ||
"id": "my_stac", | ||
"properties": { | ||
"proj:epsg": 4326, | ||
"proj:geometry": { | ||
"type": "Polygon", | ||
"coordinates": [ | ||
[ | ||
[ | ||
-170.085, | ||
79.91999999999659 | ||
], | ||
[ | ||
169.91499999997504, | ||
79.91999999999659 | ||
], | ||
[ | ||
169.91499999997504, | ||
-80.08 | ||
], | ||
[ | ||
-170.085, | ||
-80.08 | ||
], | ||
[ | ||
-170.085, | ||
79.91999999999659 | ||
] | ||
] | ||
] | ||
}, | ||
"proj:bbox": [ | ||
-170.085, | ||
79.91999999999659, | ||
169.91499999997504, | ||
-80.08 | ||
], | ||
"proj:shape": [ | ||
1000, | ||
2000 | ||
], | ||
"proj:transform": [ | ||
0.16999999999998752, | ||
0, | ||
-170.085, | ||
0, | ||
0.1599999999999966, | ||
-80.08, | ||
0, | ||
0, | ||
1 | ||
], | ||
"datetime": "2024-11-05T09:03:47.523834Z" | ||
}, | ||
"geometry": { | ||
"type": "Polygon", | ||
"coordinates": [ | ||
[ | ||
[ | ||
-170.085, | ||
79.91999999999659 | ||
], | ||
[ | ||
169.91499999997504, | ||
79.91999999999659 | ||
], | ||
[ | ||
169.91499999997504, | ||
-80.08 | ||
], | ||
[ | ||
-170.085, | ||
-80.08 | ||
], | ||
[ | ||
-170.085, | ||
79.91999999999659 | ||
] | ||
] | ||
] | ||
}, | ||
"links": [], | ||
"assets": { | ||
"netcdf": { | ||
"href": "dataset_2d.nc", | ||
"type": "application/x-netcdf", | ||
"roles": ["data"], | ||
"cube:variables": { | ||
"dataset": { | ||
"dimensions": [ | ||
"y", | ||
"x" | ||
], | ||
"type": "data" | ||
} | ||
} | ||
} | ||
}, | ||
"bbox": [ | ||
-170.085, | ||
-80.08, | ||
169.91499999997504, | ||
79.91999999999659 | ||
], | ||
"stac_extensions": [ | ||
"https://stac-extensions.github.io/projection/v1.1.0/schema.json", | ||
"https://stac-extensions.github.io/datacube/v2.2.0/schema.json" | ||
] | ||
} |
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
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
{ | ||
"type": "Feature", | ||
"stac_version": "1.0.0", | ||
"id": "my_stac", | ||
"properties": { | ||
"proj:epsg": 4326, | ||
"proj:geometry": { | ||
"type": "Polygon", | ||
"coordinates": [ | ||
[ | ||
[ | ||
-170.085, | ||
79.91999999999659 | ||
], | ||
[ | ||
169.91499999997504, | ||
79.91999999999659 | ||
], | ||
[ | ||
169.91499999997504, | ||
-80.08 | ||
], | ||
[ | ||
-170.085, | ||
-80.08 | ||
], | ||
[ | ||
-170.085, | ||
79.91999999999659 | ||
] | ||
] | ||
] | ||
}, | ||
"proj:bbox": [ | ||
-170.085, | ||
79.91999999999659, | ||
169.91499999997504, | ||
-80.08 | ||
], | ||
"proj:shape": [ | ||
1000, | ||
2000 | ||
], | ||
"proj:transform": [ | ||
0.16999999999998752, | ||
0, | ||
-170.085, | ||
0, | ||
0.1599999999999966, | ||
-80.08, | ||
0, | ||
0, | ||
1 | ||
], | ||
"datetime": "2024-11-05T09:03:47.523834Z" | ||
}, | ||
"geometry": { | ||
"type": "Polygon", | ||
"coordinates": [ | ||
[ | ||
[ | ||
-170.085, | ||
79.91999999999659 | ||
], | ||
[ | ||
169.91499999997504, | ||
79.91999999999659 | ||
], | ||
[ | ||
169.91499999997504, | ||
-80.08 | ||
], | ||
[ | ||
-170.085, | ||
-80.08 | ||
], | ||
[ | ||
-170.085, | ||
79.91999999999659 | ||
] | ||
] | ||
] | ||
}, | ||
"links": [], | ||
"assets": { | ||
"geotiff": { | ||
"href": "dataset_2d.tif", | ||
"type": "image/tiff; application=geotiff", | ||
"roles": ["data"] | ||
}, | ||
"netcdf": { | ||
"href": "dataset_2d.nc", | ||
"type": "application/x-netcdf", | ||
"roles": ["data"] | ||
} | ||
}, | ||
"bbox": [ | ||
-170.085, | ||
-80.08, | ||
169.91499999997504, | ||
79.91999999999659 | ||
], | ||
"stac_extensions": [ | ||
"https://stac-extensions.github.io/projection/v1.1.0/schema.json" | ||
] | ||
} |
Oops, something went wrong.