Re: [GRASS-user] r.sun and XY locations

2012-08-09 Thread christian . braun
, Luxembourg From: Daniel Lee l...@isi-solutions.org To: Christian Braun christian.br...@tudor.lu, Cc: grass-user@lists.osgeo.org Date: 08/08/2012 17:44 Subject:Re: [GRASS-user] r.sun and XY locations Hi Christian, Determining the position of the sun relative to a given

Re: [GRASS-user] r.sun and XY locations

2012-08-09 Thread Hamish
Christian wrote: I thought that is why I can provide latitude and longitude grids as input for the very special case of an XY location. Isn't it like that? Hi, r.sun was originally written with that idea in mind -to be able to run from a non-projected simple XY coordinate system- if you fed it

Re: [GRASS-user] r.sun and XY locations

2012-08-09 Thread Markus Neteler
On Wed, Aug 8, 2012 at 4:39 PM, Christian Braun christian.br...@tudor.lu wrote: Dear all, I want to create a WPS module which is calculating solar irradiance. As WPS architecture I have to use PyWPS which is creating a XY-location and mapsets on the fly to process the data. Why this? I am

Re: [GRASS-user] r.sun and XY locations

2012-08-09 Thread Christian Braun
Hi, of course it does support projections, but just for a predefined location. This means that this specific process needs input data in that predefined CRS. If you then have clients using different CRS this would mean that either the client has to reproject in advance or the WPS is doing

Re: [GRASS-user] r.sun and XY locations

2012-08-09 Thread Daniel Lee
2012/8/9 christian.br...@tudor.lu it's clear to me that r.sun needs some sort of spatial reference. I thought that is why I can provide latitude and longitude grids as input for the very special case of an XY location. Isn't it like that? I've heard that before, but never used it, to be

[GRASS-user] r.sun and XY locations

2012-08-08 Thread Christian Braun
Dear all, I want to create a WPS module which is calculating solar irradiance. As WPS architecture I have to use PyWPS which is creating a XY-location and mapsets on the fly to process the data. What is the current status of running r.sun in a XY location? On a testing machine I got back an

Re: [GRASS-user] r.sun and XY locations

2012-08-08 Thread Daniel Lee
Hi Christian, Determining the position of the sun relative to a given pixel requires knowing the pixel's latitude at the very least. That's why using r.sun in an XY location won't work. r.sun definitely needs a geographic location to work with - otherwise it doesn't know which way is north and