Skip to content

Commit

Permalink
Fix #33 and #46
Browse files Browse the repository at this point in the history
  • Loading branch information
adamml committed Jan 6, 2025
1 parent 8be01c7 commit aa133bd
Show file tree
Hide file tree
Showing 20 changed files with 3,166 additions and 62 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ In the current implementation the following design approach has been taken:
- Each encountered Erddap dataset is represented as a STAC Collection in that top level STAC Catalog
- Each STAC Collection is also linked to a STAC Item which represents the JSON and NetCDF file offereings of the dataset from an Erddap server

_A next iteration will use the subset variables in the Erddap metadata to provide a higher level of granularity at the STAC Item level and better differentiation between the contents of the STAC Collection and STAC Item records._

## Getting set up

1. Ensure you have a golang environment set up on your target machine
Expand All @@ -40,7 +42,8 @@ In the current implementation the following design approach has been taken:
## TODO
1. Add summaries, assets and item_assets to the STAC Collection definition
1. Handle null times in the STAC Collection definition
1. Improve the handling of Null / Fill values in the table definition
1. Improve the GeoJSON Feature representations
1. Create a Docker container to allow swift deployment of this software anywhere
1. Map license specifications to SPDX entries
1. Map license specifications to SPDX entries
1. Look at the STAC Grid extension and see if any mapping from Erddap Griddap types is worthwhile
1. Use the `subsetVariables` metadata field on Erddap datasets to improve the STAC Item granularity
6 changes: 0 additions & 6 deletions assets/erddaps.json

This file was deleted.

5 changes: 5 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
module ErddapSTAC

go 1.23.4

require (
github.com/gofrs/uuid v4.4.0+incompatible // indirect
github.com/gofrs/uuid/v5 v5.3.0 // indirect
)
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
github.com/gofrs/uuid v4.4.0+incompatible h1:3qXRTX8/NbyulANqlc0lchS1gqAVxRgsuW1YrTJupqA=
github.com/gofrs/uuid v4.4.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
github.com/gofrs/uuid/v5 v5.3.0 h1:m0mUMr+oVYUdxpMLgSYCZiXe7PuVPnI94+OMeVBNedk=
github.com/gofrs/uuid/v5 v5.3.0/go.mod h1:CDOjlDMVAtN56jqyRUZh58JT31Tiw7/oQyEXZV+9bD8=
Loading

0 comments on commit aa133bd

Please sign in to comment.