[GRASS-dev] Python scripts- 2 small questions

Luca Delucchi lucadeluge at gmail.com
Thu Jul 7 08:08:22 EDT 2011


2011/7/6 António Rocha <antonio.rocha at deimos.com.pt>:

> 1- is there any way or module that can be used to check if current machine
> is a 32b or 64b?

i think that you can use platform.architecture()

> 2- is there any way to check if a produced GRID ASCII was correctly built?
>

maybe you can create a function with python gdal, if it is possible to
read the file it's correct otherwise not

> Thanks
> Antonio
>

-- 
regards
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org


More information about the grass-dev mailing list