[GRASS-dev] Does it exist a fast way to know the type of raster without using r.info

Taïs tgrippa at ulb.ac.be
Tue Jan 14 00:55:22 PST 2020


Hi again,

I think I did something wrong and was trying to run r.info at the same 
time that the raster was overwriting.

I just make a new attempt and r.info runs fast, as expected.

Sorry to bother you guys.

You can consider this topic close.

Le 13/01/20 à 15:13, Taïs a écrit :
> Hi all,
>
> The add-on r.zonal.classes uses r.info to check if the provided 
> rasters are in CELL because r.stats require a CELL raster as input.
>
> The problem is that for heavy raster, running r.info takes ages 
> compared to r.stats and thus create a bottleneck.
>
> I'm looking for another to get the info about the type of raster 
> (CELL, FCELL,...) which will be much faster. Some of you have any idea ?
>
> Thanks
>
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: tgrippa.vcf
Type: text/x-vcard
Taille: 4 octets
Desc: non disponible
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20200114/6d300fc3/attachment.vcf>


More information about the grass-dev mailing list