[GRASS-user] r.proj ERROR

Markus Metz markus.metz.giswork at gmail.com
Thu Jan 16 09:01:31 PST 2020


On Mon, Jan 13, 2020 at 3:01 PM Nikolai Hafner <n.hafner at carto.at> wrote:
>
> I tested it from an other location too but it´s the same problem:
> r.proj location=ASTER_lat-long mapset=PERMANENT
> input=DHM_SRTM30m_Aut-plus-Umgebung output=dhm_30m_ASTER_dachstein
> method=bilinear resolution=30
> ERROR: Unable to open element file <> for <WIND at dachstein>
>
> What does that mean?

This is a bug in r.proj: the mapset dachstein does not exist in the source
location, therefore also no WIND file in the mapset dachstein because this
mapset does not exist. The new PR #286
https://github.com/OSGeo/grass/pull/286 fixes this bug, but it exposes
another bug in r.import.

Markus M

>
> the pojection and region settings of both input and output are als
follows:
>
> g.proj -p
> -PROJ_INFO-------------------------------------------------
> name       : Lambert Conformal Conic
> proj       : lcc
> datum      : hermannskogel
> ellps      : bessel
> lat_1      : 49
> lat_2      : 46
> lat_0      : 47.5
> lon_0      : 13.33333333333333
> x_0        : 400000
> y_0        : 400000
> no_defs    : defined
> towgs84    : 577.326,90.129,463.919,5.1366,1.4742,5.2970,2.4232
> -PROJ_UNITS------------------------------------------------
> unit       : metre
> units      : metres
> meters     : 1
>
>
----------------------------------------------------------------------------------------------
>
>
> g.region -p
> projection: 99 (Lambert Conformal Conic)
> zone:       0
> datum:      hermannskogel
> ellipsoid:  bessel
> north:      576922.51207363
> south:      273692.51207363
> west:       106549.26720377
> east:       694629.26720377
> nsres:      10
> ewres:      10
> rows:       30323
> cols:       58808
> cells:      1783234984
>
> ============================================================
>
> g.proj -p
> -PROJ_INFO-------------------------------------------------
> name       : Universal Transverse Mercator
> proj       : utm
> datum      : etrs89
> ellps      : grs80
> zone       : 33
> towgs84    : 0,0,0,0,0,0,0
> no_defs    : defined
> -PROJ_UNITS------------------------------------------------
> unit       : metre
> units      : metres
> meters     : 1
>
>
----------------------------------------------------------------------------------------------
>
>
> g.region -p
> projection: 1 (UTM)
> zone:       33
> datum:      etrs89
> ellipsoid:  grs80
> north:      5286581.58847414
> south:      5248335.67358037
> west:       380870.53610518
> east:       429633.13185005
> nsres:      9.998932
> ewres:      10.00053235
> rows:       3825
> cols:       4876
> cells:      18650700
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20200116/e2c55bb1/attachment.html>


More information about the grass-user mailing list