Skip to content

Commit

Permalink
Minor edits to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jreniel committed Jan 25, 2020
1 parent f98a91a commit edbb4b1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,12 @@ hgrid.make_plot(show=True)
from pyschism.mesh import Hgrid
hgrid = Hgrid.open('hgrid.gr3')
hgrid.write_boundaries("/path/to/output/dir", overwrite=True)
```

##### Example 3: Write mesh to QGIS friendly format
```python
# NOTE: 2dm files can be read by QGIS > 3.0
from pyschism.mesh import Hgrid
hgrid = Hgrid.open('hgrid.gr3')
hgrid.write("/path/to/output/dir", fmt='2dm')
```

0 comments on commit edbb4b1

Please sign in to comment.