Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    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?
    Just van den Broecke
    @justb4
    From the GeoPython Conf organization:
    Martin Christen, [26 jul. 2020 21:27:49]:
    July 27 would have been the date for GeoPython 2020, it is really sad it didn't happen.
    
    But I have interesting news
    
    There will be a "mini" GeoPython 2020 online edition, September 21-22, 2020 (together with Python Machine Learning Conference). Call for proposals is open until August 17. http://2020.geopython.net/  - More information will follow!
    Angelos Tzotsos
    @kalxas
    @justb4 do we have contact info for the conference organizers?
    or is there anyone from the organizers here?
    Just van den Broecke
    @justb4
    @kalxas not sure what you mean: we have submitted a pygeoapi abstract yesterday (see pygeoapi gitter), the main contact for the conf is Martin Christen, Professor FHNW Basel. He is not in this group but easy to find e.g. linkedin. There is also an open Telegram group for the conf: see http://2020.geopython.net/ (Social Media bottom of page).
    DJMO3
    @DJMO3
    Hi everyone, I am new to geopy and python itself. I'm not sure if this is the right forum, and I would be grateful if any of you could point me to the right place for my queries. I know that geopy uses the great circle distance to calculate the distance between two coordinates but I read somewhere that this formula isn't very accurate for short distances. I have a set of stations which can get as close as 5 kilometers from each other, I wanted to know if using geopy.distance is a good idea or if there are more accurate tools for such short distances.
    Just van den Broecke
    @justb4
    @DJMO3 never heard of geopy but it uses geographiclib . Make your question more specific: 1) are your coordinates lon/lat in WGS84? 2) what level accuracy you want to achieve (percent). Great-circle can be up to 0.5%. Better is to use geodesic distance, supported by geopy. Many geo-folks use proj but looks like your case can be covered with geopy. Their main comm-channel is StackOverflow.
    DJMO3
    @DJMO3
    Thank you for your time. I am using the WGS84 lat/long format but still need some more research and testing to determine the level of accuracy. I will be looking further into the geodesic and proj library too.