Skip to content

Commit

Permalink
overhaul WIP #2
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelmathot committed Mar 29, 2021
1 parent 6bfec38 commit 8ded3dd
Show file tree
Hide file tree
Showing 65 changed files with 690 additions and 1,537 deletions.
2 changes: 1 addition & 1 deletion notebooks/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
"output_type": "stream",
"text": [
"CBERS4: Catalogs of CBERS-4 mission's imagery on AWS\n",
"1.0.0-beta.2\n"
"1.0.0-rc.1\n"
]
}
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"stac_extensions": [
"checksum",
"sar",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"stac_extensions": [
"checksum",
"sar",
Expand Down
2 changes: 1 addition & 1 deletion src/DotNetStac.Test/Catalog/CatalogTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public void CanDeserializeMinimalSample()

Assert.NotNull(catalog);

Assert.Equal("1.0.0-beta.2", catalog.StacVersion);
Assert.Equal("1.0.0-rc.1", catalog.StacVersion);

Assert.Empty(catalog.StacExtensions);

Expand Down
2 changes: 1 addition & 1 deletion src/DotNetStac.Test/Collection/CollectionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public void CanDeserializeSentinel2Sample()

Assert.NotNull(item.Summaries);

Assert.Equal("1.0.0-beta.2", item.StacVersion);
Assert.Equal("1.0.0-rc.1", item.StacVersion);

Assert.Empty(item.StacExtensions);

Expand Down
4 changes: 2 additions & 2 deletions src/DotNetStac.Test/Item/ItemTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public void CanDeserializeMinimalSample()

Assert.NotNull(item.Properties);

Assert.Equal("1.0.0-beta.2", item.StacVersion);
Assert.Equal("1.0.0-rc.1", item.StacVersion);

Assert.Empty(item.StacExtensions);

Expand Down Expand Up @@ -113,7 +113,7 @@ public void CanDeserializeS2CogSample()

Assert.NotNull(item.Properties);

Assert.Equal("1.0.0-beta.2", item.StacVersion);
Assert.Equal("1.0.0-rc.1", item.StacVersion);

}

Expand Down
2 changes: 1 addition & 1 deletion src/DotNetStac.Test/Item/ProcessingExtensionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void TestObservableDictionary()

k3MissingSoftwareJson = JsonConvert.SerializeObject(k3MissingSoftware);

// Assert.True(ValidateJson(k3MissingSoftwareJson));
Assert.True(ValidateJson(k3MissingSoftwareJson));

JsonAssert.AreEqual(k3CompleteJson, k3MissingSoftwareJson);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"id": "NAIP",
"description": "Catalog of NAIP Imagery",
"links": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"stac_extensions": [],
"id": "NAIP",
"description": "Catalog of NAIP Imagery",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"stac_extensions": [],
"id": "COPERNICUS/S2",
"title": "Sentinel-2 MSI: MultiSpectral Instrument, Level-1C",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"stac_extensions": [],
"id": "COPERNICUS/S2",
"title": "Sentinel-2 MSI: MultiSpectral Instrument, Level-1C",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"stac_extensions": [ "eo" ],
"type": "Feature",
"id": "CS3-20160503_132130_04",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"stac_extensions": [ "eo" ],
"type": "Feature",
"id": "CS3-20160503_132130_04",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"proj",
"view"
],
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"links": [
{
"type": "application/json; profile=stac-item",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"proj",
"view"
],
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"links": [
{
"rel": "self",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"proj",
"view"
],
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"links": [
{
"rel": "self",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"stac_extensions": [],
"type": "Feature",
"id": "CS3-20160503_132130_04",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type": "Feature",
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"stac_extensions": [
"eo",
"view",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"stac_extensions": [
"eo",
"view",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"stac_extensions": [],
"type": "Feature",
"id": "CS3-20160503_132130_04",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"proj",
"view"
],
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"links": [
{
"rel": "self",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"view",
"processing"
],
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"links": [
{
"rel": "self",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"proj",
"view"
],
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"links": [
{
"rel": "self",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"proj",
"view"
],
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"links": [
{
"rel": "self",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"stac_extensions": [
"sar"
],
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"assets": {},
"links": [],
"type": "Feature",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"stac_extensions": [
"checksum",
"sar",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"stac_version": "1.0.0-beta.2",
"stac_version": "1.0.0-rc.1",
"stac_extensions": [
"checksum",
"sar",
Expand Down
2 changes: 1 addition & 1 deletion src/DotNetStac.Test/Version/VersionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void CanDeserializeLandsat06()
Assert.Equal("0.6.0", cat06.StacVersion);

StacCatalog cat = cat06.UpgradeToCurrentVersion();
Assert.Equal("1.0.0-beta.2", cat.StacVersion);
Assert.Equal("1.0.0-rc.1", cat.StacVersion);

Assert.NotEmpty(cat.GetChildren());

Expand Down
67 changes: 0 additions & 67 deletions src/DotNetStac/Catalog/StacCatalog.Helper.cs

This file was deleted.

Loading

0 comments on commit 8ded3dd

Please sign in to comment.