ccht-ncsu / Kalpana

Visualization of ADCIRC Model Data in Vector Formats
GNU General Public License v3.0
26 stars 22 forks source link

Create GRASS GIS Location on the fly #20

Closed wenzeslaus closed 1 year ago

wenzeslaus commented 4 years ago

The need for GRASS_LOCATION_wgs84.zip can be avoided by creating GRASS GIS Location onthe fly using grass7 -c EPSG:4326 like this:

grass72 -c EPSG:4326 GRASS_LOCATION_wgs84

You can see more examples here (the page is for 7.8, but -c is in 7.2 as well).

You are already calling the grass command (grass72), so the above should just work in the same way. The code won't be shorter, but you will not need to have that .zip file available anymore.