Skip to content

Commit

Permalink
Make the readme a bit easier
Browse files Browse the repository at this point in the history
  • Loading branch information
abkfenris committed Oct 12, 2023
1 parent c2c544e commit 1d41de8
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pip install xpublish_intake_provider

Currently this package includes one plugin which can load an
Intake catalog and serve it's datasets via `/datasets/{dataset_id}`.

You can register the plugin multiple times in order to serve
multiple catalogs as long as each gets its own name.

Expand All @@ -28,11 +29,20 @@ from xpublish_intake_provider import IntakeDatasetProviderPlugin

rest = xpublish.Rest({})

rest.register_plugin(IntakeDatasetProviderPlugin(name="gfs-datasets", uri="https://raw.githubusercontent.com/axiom-data-science/mc-goods/main/mc_goods/gfs-1-4deg.yaml"))
rest.register_plugin(IntakeDatasetProviderPlugin(name="gomofs-datasets", uri="https://raw.githubusercontent.com/axiom-data-science/mc-goods/main/mc_goods/gomofs.yaml"))
rest.register_plugin(
IntakeDatasetProviderPlugin(
name="gfs-datasets",
uri="https://raw.githubusercontent.com/axiom-data-science/mc-goods/main/mc_goods/gfs-1-4deg.yaml"
)
)
rest.register_plugin(
IntakeDatasetProviderPlugin(
name="gomofs-datasets",
uri="https://raw.githubusercontent.com/axiom-data-science/mc-goods/main/mc_goods/gomofs.yaml"
)
)
```


## Get in touch

Report bugs, suggest features or view the source code on [GitHub](https://github.com/ioos/xpublish_intake_provider/issues).
Expand Down

0 comments on commit 1d41de8

Please sign in to comment.