by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Fabian Schindler
    @constantinius
    Great :)
    Just let me know if you need anything
    Angelos Tzotsos
    @kalxas
    thank you @constantinius
    María Arias de Reyna
    @Delawen
    Hi! If hypothetically I wanted to write a client for a WPS server, what is the quickest way to have a dummy pyWPS running? Is there any testing server already out there? (My first thinking on how to merge my current job with OSGeo, not sure when or how far I would be able to go :P)
    Ha! As usual, I ask and then find the answer. This is the quickstart, right? https://pywps.readthedocs.io/en/latest/install.html#the-flask-service-and-its-sample-processes
    Jorge Samuel Mendes de Jesus
    @jorgejesus
    OWSLIB can access as a client to access WPS https://geopython.github.io/OWSLib/
    And I think it can also run as a command line clienbt
    You can deploy a fast server on the URL you indicated or use some docker image or use things provided on the birdhouse project (http://bird-house.github.io/)
    (maybe some images need an update)
    Jorge Samuel Mendes de Jesus
    @jorgejesus
    The birdhouse project uses massibvaly pywps
    they have emu that is for setting up WPS services for testing
    María Arias de Reyna
    @Delawen

    Hi!

    I have a junior python developer friend that wants to start contributing with open source on hacktober (this month). She's good and she asked me if I know of any python project where she can ask and start. Is anyone interested in mentoring her and give her some tasks to do? No geo background.

    María Arias de Reyna
    @Delawen
    @anitagraser @tomkralidis @kalxas @jorgejesus @justb4 ...
    She already contributed to sagemath, but no mentorship and no help, I would like her to have some guidance this time
    Angelos Tzotsos
    @kalxas
    hi @Delawen
    María Arias de Reyna
    @Delawen
    hiç
    Angelos Tzotsos
    @kalxas
    perhaps she wants to dive in to the geopython workshop material and we can provide some guidance
    the most active project right now I guess is pygeoapi
    María Arias de Reyna
    @Delawen
    and where should I tell her to direct her answers about pygeoapi? https://gitter.im/geopython/pygeoapi ?
    Angelos Tzotsos
    @kalxas
    yes
    María Arias de Reyna
    @Delawen
    Thanks :)
    Angelos Tzotsos
    @kalxas
    welcome :)
    María Arias de Reyna
    @Delawen
    hope she becomes a contributor soon :D
    Tom Kralidis
    @tomkralidis
    Docs are also welcome.
    Jorge Samuel Mendes de Jesus
    @jorgejesus

    and where should I tell her to direct her answers about pygeoapi? https://gitter.im/geopython/pygeoapi ?

    Yes, the project is very active and she can help on multiple things from docs, small code patches, testing, dataprovider implementations, also the project is very frienly and open to suggestions

    Tom Kralidis
    @tomkralidis
    hi all: anyone use rasterio? I’m looking for how to do spatial subsetting (minx, miny, max, maxy) ?
    Jorge Samuel Mendes de Jesus
    @jorgejesus
    only for a specific x,y
    Jorge Samuel Mendes de Jesus
    @jorgejesus
    If I remember you need to use the window
    dont you have an example on the geopython workshop from bucharest, I recall that Jachym had a good example on his tutorial
    Tom Kralidis
    @tomkralidis
    does window take geographic coords though?
    Jorge Samuel Mendes de Jesus
    @jorgejesus
    Should only be
    Just van den Broecke
    @justb4
    @tomkralidis hope I understand correctly, slicing out a rectangle from a raster based on geo-coords? With CLI I would use gdal_translate, possibly there is a way via Python API.
    Tom Kralidis
    @tomkralidis
    thanks @justb4 and @jorgejesus. Use case is using rasterio for pygeoapi coverage implementation
    you need to convert the lat,lon coordinates into X.Y (have code somehwere for it) but the link above uses rasterio
    and is simpler
    (check the solution bellow)
    Tom Kralidis
    @tomkralidis
    thanks. Is it me or should the concept of clipping a raster by geographic coords be simpler?
    Just van den Broecke
    @justb4
    @tomkralidis from the docs found rasterio.windows.from_bounds.
    Anita Graser
    @anitagraser

    Happy new year!

    Thought I'd share some MovingPandas samples with you: http://exploration.movingpandas.org

    movingpandas_hvplot2.gif

    Tom Kralidis
    @tomkralidis
    @just I did pixel indexing which worked but from_bounds seems easier. Thanks.
    Jorge Samuel Mendes de Jesus
    @jorgejesus
    @anitagraser Nice :)
    epifanio
    @epifanio
    Hi @all - not sure where to post, I've a question related to the use of pydap from inside a docker-compose environment and I thought this channel is followed by very knowledgiable people who my be able to help me.
    My problem is:
    • given a docker-compose environment with 3 containers running 3 services apache , pydap, jupyter. A simple csv file is served via both apache and via pydap
      From outside the docker environment, the file is available using the host IP address without problems (using both apache and pydap)
      The problem arise when I try to access the csv data from inside the jupyter service, which runs from inside the same docker network.
    from the notebook I can access the data served via hyrax or via apache using the service name, but the same request fails when attemting to access the data served via pydap

    @epifanio
    I prepared the test , it is a basic repository with 4 docker machine:

    • Apache2
    • Pydap
    • Hyrax
    • Jupyter Notebook

    It is available here: https://github.com/epifanio/Docker-Networking

    @epifanio
    essentially, I put some data in a volume and I made this data available in:

    and everything works as expected

    I then use a jupyter container (on the same docker network) to access the same data but using the docker-machine-name defined in the docker-compose
    using the pydap client I can access the data served by hyrax, or I can use wget to fetch the data served via apache ... but when trying to attemt to fetch the data served by pydap I got an error ...

    epifanio
    @epifanio
    it seems that pydap server side doesn't allow the use of the service hostname used internally by docker
    have you experienced something similar, do you have any clue on what is wrong?