<div dir="ltr">Hello Laurent, <div><br></div><div>AFAIK, you can access STRDS stored in other mapsets as long as those mapsets are in the search path (check with g.mapsets -p). If I'm in a certain mapset and I do:</div><div><br></div><div>t.rast.list some_strds@other_mapset</div><div><br></div><div>it lists the maps as expected... However, the error I get if I try to list maps in a STRDS that is in a mapset not in the search path, is different from yours. I get the following: </div><div><br></div><div>ERROR: Unable to execute sql statement. You have no permission to access</div><div>mapset <rrs_667>, or mapset <rrs_667> has no temporal database. Accessable</div><div>mapsets are: <clorofila,pruebas></div><div><br></div><div>The error you get in both cases appears to be related to the database connection. I guess you run t.connect in those mapsets, right? What is the output of t.connect -p??</div><div><br></div><div>IIUC, the ticket you mention #2110 [0] is related to registering maps from one mapset in a STRDS of some other mapset, that is not allowed unless you change the database connection of each mapset to point to a single one (See Soeren's explanation in ML: <a href="https://lists.osgeo.org/pipermail/grass-user/2016-April/074079.html">https://lists.osgeo.org/pipermail/grass-user/2016-April/074079.html</a>). However, I don't think that's what you need, since, again IIUC, you would only need to access those STDRS in different mapsets but you would NOT need to register those same maps in a different STDRS in a different mapset, would you? </div><div><br></div><div>Also, what version of grass you use and under which system? (here, i have freshly compiled grass73 in Linux)</div><div><br></div><div>HTH, </div><div>Vero</div><div><br></div><div>[0] <a href="https://trac.osgeo.org/grass/ticket/2110" target="_blank">https://trac.osgeo.org/<wbr>grass/ticket/2110</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-08-05 18:38 GMT-03:00 Laurent C. <span dir="ltr"><<a href="mailto:lrntct@gmail.com" target="_blank">lrntct@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
<br>
I have several STRDS of rainfall covering a whole country, in a<br>
specific mapset dedicated to rainfall data.<br>
I'd like to run some hydraulic simulations in different regions of the<br>
country, that output several STRDS as results.<br>
For the sake of organizing the data, every study area has its own mapset.<br>
The hydraulic model calls the STRDS from the other mapset return an error:<br>
<br>
```<br>
[...]<br>
  File "/home/jrodriguezri/.local/<wbr>lib/python2.7/site-packages/<wbr>itzi/gis.py",<br>
line 138, in name_is_stds<br>
    if tgis.SpaceTimeRasterDataset(<wbr>name).is_in_db():<br>
  File "/usr/lib/grass70/etc/python/<wbr>grass/temporal/abstract_<wbr>dataset.py",<br>
line 370, in is_in_db<br>
    return self.base.is_in_db(dbif)<br>
  File "/usr/lib/grass70/etc/python/<wbr>grass/temporal/base.py", line 314,<br>
in is_in_db<br>
    dbif.execute(sql, mapset=self.mapset)<br>
  File "/usr/lib/grass70/etc/python/<wbr>grass/temporal/core.py", line 956,<br>
in execute<br>
    "mapset <%(mapset)s>" % {"mapset": mapset}))<br>
  File "/usr/lib/grass70/etc/python/<wbr>grass/pygrass/messages/__init_<wbr>_.py",<br>
line 269, in fatal<br>
    raise FatalError(message)<br>
grass.exceptions.FatalError: Unable to execute sql statement. There is<br>
no temporal database connection defined for mapset <Lluvia><br>
```<br>
<br>
I realize that if I try to open a strds from another mapset with<br>
t.rst.list, I get a similar error:<br>
<br>
```<br>
ERROR: Unable to execute sql statement. There is no temporal database<br>
connection defined for mapset<br>
```<br>
<br>
Searching for an open ticket about it, I encounter #2110 which seems<br>
related, but it's quite old and it seems in the discussion that a<br>
STRDS should behave like a map, which could be open from another<br>
mapset.<br>
<br>
Is it a normal behaviour, and if it's the case, what is the workaround?<br>
<br>
Cheers,<br>
Laurent<br>
______________________________<wbr>_________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/grass-dev</a></blockquote></div><br></div>