-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move contributing guidelines, migrate to Python and fiboa schema
- Loading branch information
Showing
10 changed files
with
53 additions
and
104 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,5 @@ Thumbs.db | |
/.idea/ | ||
/.vscode/ | ||
|
||
# Node / npm | ||
.npm | ||
/node_modules/ | ||
package-lock.json | ||
# Python | ||
Pipfile.lock |
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,23 @@ | ||
# Contributing | ||
|
||
All contributions are subject to the | ||
[fiboa Code of Conduct](https://github.com/fiboa/specification/blob/main/CODE_OF_CONDUCT.md). | ||
For contributions, please follow the | ||
[fiboa contributing guideline](https://github.com/fiboa/specification/blob/main/CONTRIBUTING.md). | ||
|
||
## Running tests | ||
|
||
You'll need to install Python >= 3.9 and pip to setup the test environment. | ||
We use pipenv to execute the tests. | ||
|
||
Start with the following command in the folder where this README is located: | ||
`pip install pipenv --user` | ||
|
||
Finally, you can run the tests as follows: | ||
|
||
- To check the markdown run: `pipenv run test-docs` | ||
- To check the fiboa schema run: `pipenv run test-schema` | ||
- To check the examples run: | ||
- `pipenv run test-geojson` for GeoJSON | ||
- `pipenv run test-geoparquet` for GeoParquet | ||
- To create a GeoParquet from the GeoJSON examples: `pipenv run create-geoparquet` |
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,15 @@ | ||
[[source]] | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[packages] | ||
fiboa-cli = ">=0.3" | ||
pymarkdownlnt = ">=0.9" | ||
|
||
[scripts] | ||
test-docs = "pymarkdown -d md024 scan ." | ||
test-schema = "fiboa validate-schema schema/schema.yaml" | ||
test-geojson = "fiboa validate examples/geojson -c examples/geojson/collection.json -e https://fiboa.github.io/extension-template/v0.1.0/schema.yaml,schema/schema.yaml" | ||
test-geoparquet = "fiboa validate examples/geoparquet -e https://fiboa.github.io/extension-template/v0.1.0/schema.yaml,schema/schema.yaml" | ||
create-geoparquet = "fiboa create-geoparquet examples/geojson -o examples/geoparquet/example.parquet -c examples/geojson/collection.json -e https://fiboa.github.io/extension-template/v0.1.0/schema.yaml,schema/schema.yaml" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,6 @@ | ||
{ | ||
"fiboa_version": "0.1.0", | ||
"fiboa_version": "0.2.0", | ||
"fiboa_extensions": [ | ||
"https://fiboa.github.io/extension-template/v0.1.0/schema.yaml" | ||
], | ||
"stac_version": "1.0.0", | ||
"type": "Collection", | ||
"id": "fiboa", | ||
"description": "An example fiboa dataset", | ||
"license": "CC-0", | ||
"extent": { | ||
"spatial": { | ||
"bbox": [ | ||
[ | ||
-180, | ||
-90, | ||
180, | ||
90 | ||
] | ||
] | ||
}, | ||
"temporal": { | ||
"interval": [ | ||
[ | ||
"2019-01-01T00:00:00Z", | ||
"2020-01-01T00:00:00Z" | ||
] | ||
] | ||
} | ||
}, | ||
"links": [ | ||
{ | ||
"rel": "item", | ||
"href": "example.json", | ||
"type": "application/geo+json" | ||
}, | ||
{ | ||
"rel": "item", | ||
"href": "example.parquet", | ||
"type": "application/vnd.apache.parquet" | ||
} | ||
] | ||
} |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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