[OWSLib-devel] PyWPS question
Cinquini, Luca (3980)
Luca.Cinquini at jpl.nasa.gov
Thu Oct 31 13:43:18 PDT 2013
Thanks Jachym, I think option #3 looks the most viable to us.
thanks for the suggestion,
Luca
On Oct 31, 2013, at 2:38 PM, Jachym Cepicky wrote:
> Hi,
>
> Dne 31.10.2013 17:55, Cinquini, Luca (3980) napsal(a):
>> Hi Jachym, we are using PwWPS (version 3.2.1) at JPL to enable
>> regridding of NASA observational data, and I have a question
>> concerning how to access some of the fields exposed to the client...
>>
>> Specifically, for an asynchronous request, the server sends to the
>> client a document containing the "statusLocation", and eventually the
>> href "Reference" to the output URL (once it is renamed by the
>> engine). These fields are known to the PyWPS engine, but not to the
>> WPSProcess itself that is running. Although in general this makes
>> total sense, in some circumstances the WPSProcess might need to use
>> them, for example to send email to the user when it completes.
>>
>> Is there any back-door for the WPSProcess to retrieve these fields ?
>>
>
> First option: Sören implemented support for FTP server, so the process
> can upload the data there
>
> Second option: setup MapServer, which would deal as WCS service (needs
> probably more work)
>
> Third option: Hack around pywps/Wps/Execute/__init__.py, where
> statusLocation is set to
>
> self.statusLocation =
> config.getConfigValue("server","outputUrl")+"/"+self.getSessionId()+".xml"
>
> Make this available in your process, maybe on line 494 just add
>
>
> self.process.statusLocation = self.statusLocation
>
> and it should work(?)
>
> Jachym
>
>
> --
> Jachym Cepicky
> jachym.cepicky at gmail.com
> http://les-ejk.cz
> PGP: http://les-ejk.cz/pgp/JachymCepicky.pgp
>
More information about the OWSLib-devel
mailing list