Skip to content

Commit

Permalink
NOAA Sea Ice CDR updates (#56)
Browse files Browse the repository at this point in the history
* Initial changes/updates

* Add examples

* Updates with aggregates added as items

* More examples added

* Add instrument and sensor to item

* WIP updating collection and items

* Add and update examples

* Moving things into noaa-cdr-sea-ice-concentration

* cont. moving items

* Finish aggregate items

* Fix missing space

* linting

* Add last few missing items

* Add sea-ice specific instructions to README

* Update src/stactools/noaa_cdr/sea_ice_concentration/constants.py

Co-authored-by: Pete Gadomski <[email protected]>

* Update src/stactools/noaa_cdr/sea_ice_concentration/constants.py

Co-authored-by: Pete Gadomski <[email protected]>

* Loosen mypy for unexplained errors

* Update mypy.ini

* Ruff fixes

* Attempt to fix type validation error on instruments

---------

Co-authored-by: Pete Gadomski <[email protected]>
  • Loading branch information
rmarow and gadomski authored Aug 19, 2024
1 parent 32fa246 commit 75fbccf
Show file tree
Hide file tree
Showing 114 changed files with 7,907 additions and 54 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ number as needed.

- Summaries for the ocean heat content collection ([#50](https://github.com/stactools-packages/noaa-cdr/pull/50))
- `max_depth` to ocean heat content netcdf items ([#52](https://github.com/stactools-packages/noaa-cdr/pull/52))
- Aggregate examples for sea ice concentration, add `common_metadata` to items

### Changed

Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,21 @@ stac noaa-cdr ocean-heat-content create-collection --create-items --latest-only
examples/ocean-heat-content/collection.json
```

To create an item for sea-ice-concentration (without COGS):

```sh
stac noaa-cdr sea-ice-concentration create-item
https://noaadata.apps.nsidc.org/NOAA/G02202_V4/north/daily/2023/seaice_conc_daily_nh_20230203_f17_v04r00.nc
noaa-cdr-sea-ice-concentration/north/seaice_conc_daily_nh_20230203_f17_v04r00.json
```

To add an item to a catalog:

```sh
stac add examples/sea-ice-concentration/north/seaice_conc_daily_20230203_f17_v0400.json
examples/noaa-cdr-sea-ice-concentration/collection.json
```

Each CDR has its own flavor of command line interface; use `stac noaa-cdr
--help` to see a list of supported CDRs.

Expand Down
Loading

0 comments on commit 75fbccf

Please sign in to comment.