<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi, <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
As I need to work with space time raster data serie, I am trying to use the t.create function (the first step to build a strds as indicated in tutorials) but unlike other functions that seem to work (I am new to GRASS), this one keeps returning errors that
my more advanced users co-workers and I can't explain. <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>-> Here is an exemple of the error i get when I try it on a local computer </b>
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<i><br>
</i></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<i><span>(base) fworme@SW-031:~> t.create type=strds temporaltype=absolute \<br>
</span></i>
<div><i>> output=precipitation_monthly \<br>
</i></div>
<div><i>> title="Monthly precipitation" \<br>
</i></div>
<div><i>> description="Dataset with monthly precipitation"</i></div>
<div><i><br>
</i></div>
<div><i>Traceback (most recent call last):<br>
</i></div>
<div><i> File "/usr/lib64/grass78/scripts/t.create", line 92, in <module><br>
</i></div>
<div><i> main()<br>
</i></div>
<div><i> File "/usr/lib64/grass78/scripts/t.create", line 74, in main<br>
</i></div>
<div><i> import grass.temporal as tgis<br>
</i></div>
<div><i> File "/usr/lib64/grass78/etc/python/grass/temporal/__init__.py", line 3, in <module><br>
</i></div>
<div><i> from .core import *<br>
</i></div>
<div><i> File "/usr/lib64/grass78/etc/python/grass/temporal/core.py", line 39, in <module><br>
</i></div>
<div><i> from .c_libraries_interface import *<br>
</i></div>
<div><i> File "/usr/lib64/grass78/etc/python/grass/temporal/c_libraries_interface.py", line 20, in <module><br>
</i></div>
<div><i> import grass.lib.gis as libgis<br>
</i></div>
<div><i> File "/usr/lib64/grass78/etc/python/grass/lib/gis.py", line 23, in <module><br>
</i></div>
<div><i> _libs["grass_gis.7.8"] = load_library("grass_gis.7.8")<br>
</i></div>
<div><i> File "/usr/lib64/grass78/etc/python/grass/lib/ctypes_loader.py", line 64, in load_library<br>
</i></div>
<div><i> raise ImportError("%s not found." % libname)<br>
</i></div>
<div><i>ImportError: grass_gis.7.8 not found.<br>
</i></div>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>The thing is: finding grass_gis 7.8 shouldn't be a problem, and other grass functions are working
</b><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>-> And here is what I get when I try to run it on mundialis/grass-py3-pdal:latest grass - Docker</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<i><span>Starting GRASS GIS...<br>
</span></i>
<div><i>Creating new GRASS GIS location <tmploc>...<br>
</i></div>
<div><i>Cleaning up temporary files...<br>
</i></div>
<div><i>Executing <bash /data/grass.sh> ... <b>(grass.sh containting the same exemple I tryed on a local computer)
</b><br>
</i></div>
<div><i><br>
</i></div>
<div><i>Default TGIS driver / database set to:<br>
</i></div>
<div><i>driver: sqlite<br>
</i></div>
<div><i>database: $GISDBASE/$LOCATION_NAME/$MAPSET/tgis/sqlite.db<br>
</i></div>
<div><i>WARNING: Temporal database connection defined as:<br>
</i></div>
<div><i> /tmp/grass7-root-1/tmploc/PERMANENT/tgis/sqlite.db<br>
</i></div>
<div><i> But database file does not exist.<br>
</i></div>
<div><i>Creating temporal database:<br>
</i></div>
<div><i>/tmp/grass7-root-1/tmploc/PERMANENT/tgis/sqlite.db<br>
</i></div>
<div><i>Traceback (most recent call last):<br>
</i></div>
<div><i> File "/usr/local/grass/scripts/t.create", line 92, in <module><br>
</i></div>
<div><i> main()<br>
</i></div>
<div><i> File "/usr/local/grass/scripts/t.create", line 85, in main<br>
</i></div>
<div><i> tgis.init()<br>
</i></div>
<div><i> File "/usr/local/grass/etc/python/grass/temporal/core.py", line 707, in init<br>
</i></div>
<div><i> create_temporal_database(dbif)<br>
</i></div>
<div><i> File "/usr/local/grass/etc/python/grass/temporal/core.py", line 843, in create_temporal_database<br>
</i></div>
<div><i> self._create_temporal_database_views(dbif)<br>
</i></div>
<div><i>NameError: name 'self' is not defined<br>
</i></div>
<div><i>Execution of <bash /data/grass.sh> finished.<br>
</i></div>
<div><i>Cleaning up temporary files...<br>
</i></div>
<i><span></span></i><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
If anyone has any idea about where does the problem come from...<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you for your help / your time.<br>
</div>
<hr>
<p><span style="font-size: x-small; font-family: arial, helvetica, sans-serif;"><em>Ce message et toutes les pièces jointes (ci-après le "message") sont établis à l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par
erreur ou s'il ne vous est pas destiné, merci de le détruire ainsi que toute copie de votre système et d'en avertir immédiatement l'expéditeur. Toute lecture non autorisée, toute utilisation de ce message qui n'est pas conforme à sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite. L'Internet ne permettant pas d'assurer l'intégrité de ce message électronique susceptible d'altération, l’expéditeur (et ses filiales) décline(nt) toute responsabilité au titre de ce message dans l'hypothèse
où il aurait été modifié ou falsifié.</em></span></p>
<p><span style="font-size: x-small; font-family: arial, helvetica, sans-serif;"><em>This message and any attachments (the "message") is intended solely for the intended recipient(s) and is confidential. If you receive this message in error, or are not the intended
recipient(s), please delete it and any copies from your systems and immediately notify the sender. Any unauthorized view, use that does not comply with its purpose, dissemination or disclosure, either whole or partial, is prohibited. Since the internet cannot
guarantee the integrity of this message which may not be reliable, the sender (and its subsidiaries) shall not be liable for the message if modified or falsified. </em></span></p>
</body>
</html>