Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nshmp-ws-static
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ghsc
National Seismic Hazard Model Project
nshmp-ws-static
Commits
5adfc2d8
Commit
5adfc2d8
authored
4 years ago
by
Clayton, Brandon Scott
Browse files
Options
Downloads
Patches
Plain Diff
update
parent
ace0beff
No related branches found
No related tags found
1 merge request
!53
Convert to NetCDF
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+7
-6
7 additions, 6 deletions
README.md
with
7 additions
and
6 deletions
README.md
+
7
−
6
View file @
5adfc2d8
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment