Skip to content
Snippets Groups Projects
Commit 5adfc2d8 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

update

parent ace0beff
No related branches found
No related tags found
1 merge request!53Convert to NetCDF
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* [Python](https://www.python.org/downloads/) 3.7+ * [Python](https://www.python.org/downloads/) 3.7+
* [Poetry](https://python-poetry.org/) Python dependency manager * [Poetry](https://python-poetry.org/) Python dependency manager
* NetCDF
#### Poetry Install #### Poetry Install
...@@ -38,13 +39,13 @@ To install files to a specific NSHM, use one of the following flags: ...@@ -38,13 +39,13 @@ To install files to a specific NSHM, use one of the following flags:
The following example would download the database for the 2018A NSHM: The following example would download the database for the 2018A NSHM:
```bash ```bash
poetry run database --2018A poetry run netcdf --2018A
``` ```
To download only with no NetCDF conversion use: To download only with no NetCDF conversion use:
```bash ```bash
poetry run database --2018A --download-only poetry run netcdf --2018A --download-only
``` ```
#### Download All NSHM Databases #### Download All NSHM Databases
...@@ -53,20 +54,20 @@ The following will download all NSHM databases defined in the ...@@ -53,20 +54,20 @@ The following will download all NSHM databases defined in the
[catalog.yml](./src/main/resources/catalog.yml) file: [catalog.yml](./src/main/resources/catalog.yml) file:
```bash ```bash
poetry run database --all poetry run netcdf --all
``` ```
The following will download all NSHM database in the `/DATA` directory: The following will download all NSHM database in the `/DATA` directory:
```bash ```bash
poetry run database --all --output=/DATA poetry run netcdf --all --output=/DATA
``` ```
You can also set an environment variable to set the output path: You can also set an environment variable to set the output path:
```bash ```bash
export NSHMP_NETCDF_DATABASE_PATH="/path/to/database"; export NSHMP_NETCDF_DATABASE_PATH="/path/to/database";
poetry run database --all poetry run netcdf --all
``` ```
## Help ## Help
...@@ -82,7 +83,7 @@ poetry run help ...@@ -82,7 +83,7 @@ poetry run help
The following command will remove all database files: The following command will remove all database files:
```bash ```bash
poetry run database --clean poetry run netcdf --clean
``` ```
### Database Development ### Database Development
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment