[GRASS5] initiation of proj library in r.sun

Paul Kelly paul-grass at stjohnspoint.co.uk
Sun Nov 30 05:21:29 EST 2003


Hello Jaro

On Sat, 29 Nov 2003, Jaro Hofierka wrote:

> Hi,
>
> I am trying to use recent updates of r.sun under CVS version of GRAS5.3
> (from Oct 11). I got the following error reading latitude values from
> proj info:
>
> r.sun elevin=ele25 aspin=asp250 slopein=slop250 day=90 beam_rad=b1a
> diff_rad=d1a refl_rad=r1a
> Mode 2: integrated daily irradiation
> Unable to initialise PROJ.4 with the following parameter list:
>   +proj=krovakgis +a=6377397.155 +es=0.006674372231802145
> +towgs84=653.000000,-212.000000,449.000000
>   The error message was 'unknown projection id'
>   ERROR: Can't get projection key values of current location
>

"proj: krovakgis" doesn't exist any more in GRASS; you need to use
"proj: krovak". I believe Radim made some changes to this to fix the axis
orientation and the version in the internal GRASS PROJ is more 'correct'
than in the remotesensing.org PROJ version.

Paul




More information about the grass-dev mailing list