<div dir="ltr"><br><br>On Thu, Aug 16, 2018 at 6:39 AM, Nikos Alexandris <<a href="mailto:nik@nikosalexandris.net" target="_blank">nik@nikosalexandris.net</a>> wrote:<br>><br>> * Vaclav Petras <<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>> [2018-08-14 23:20:16 -0400]:<br>><br>> ..<br>><br>>> If you are interested, please, test this new functionality. It is an<br>>> opportunity to provide feedback before this feature lands in the 7.6<br>>> release.<br>>><br>>> Here are some things to try:<br>>><br>>> * Execute a module in a location created based on EPSG:<br>>><br>>>  grass --tmp-location EPSG:3358 --exec g.region -p<br>>><br>>> * Execute Python script in a location created based on EPSG:<br>>><br>>>  grass --tmp-location EPSG:3358 --exec script.py<br>>><br>>> * Examine the created location using a Bash command:<br>>><br>>>  grass --tmp-location EPSG:3358 --exec bash -c "g.proj -p && g.region -p<br>>> && g.mapset -p && g.gisenv GISDBASE,LOCATION_NAME sep=/"<br>>><br>>> * Get SRS/CRS for a file:<br>>><br>>>  grass --tmp-location ~/data/elevation.tiff --exec g.proj -p<br>><br>><br>> Perhaps test if the file exists and, if not, exit with an informative error<br>> message?<br>><br>> In Python:<br>><br>> import os.path<br>> os.path.isfile(fname)<br><div>> ?</div><div></div><div><br><div></div><div>Hi Nikos,</div><div><br></div><div>sounds good to me. Do you want to submit an issue and suggest a patch?</div><div><br></div><div>Vashek</div></div><br><div>> Currently, if the file does not exist, the process hangs:</div>><br>> ```<br>> Cleaning up temporary files...<br>> Starting GRASS GIS...<br>> ```<br>>><br><div>>> * Get help text for a module:</div>>><br>>>  grass --tmp-location XY --exec r.neighbors --help<br>>><br>>> See the documentation and `grass --help` for more hints (and let me know<br>>> how these can be enhanced).<br>>><br>>> Best regards,<br>>> Vaclav<br>>><br>>><br>>> <a href="https://trac.osgeo.org/grass/ticket/3537" target="_blank">https://trac.osgeo.org/grass/<wbr>ticket/3537</a><br>>> <a href="https://trac.osgeo.org/grass/ticket/3585" target="_blank">https://trac.osgeo.org/grass/<wbr>ticket/3585</a><br>>> <a href="https://trac.osgeo.org/grass/ticket/3586" target="_blank">https://trac.osgeo.org/grass/<wbr>ticket/3586</a><br>>> <a href="https://trac.osgeo.org/grass/changeset/72790" target="_blank">https://trac.osgeo.org/grass/<wbr>changeset/72790</a><br>>> <a href="https://trac.osgeo.org/grass/changeset/73096" target="_blank">https://trac.osgeo.org/grass/<wbr>changeset/73096</a><br>>> <a href="https://trac.osgeo.org/grass/changeset/73098" target="_blank">https://trac.osgeo.org/grass/<wbr>changeset/73098</a><br>>> <a href="https://trac.osgeo.org/grass/changeset/73099" target="_blank">https://trac.osgeo.org/grass/<wbr>changeset/73099</a><br>><br>><br>> All works.<br>> Fantastic work!<br>><br>> Kudos Radek and Vaclav,<br>> Nikos<br><br></div>