home.social

#xarray — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #xarray, aggregated by home.social.

  1. Will we finally get nice html representations of @movingpandas Trajectories and TrajectoryCollections?

    Inspired by 🤩

    WIP 👩‍💻 : github.com/movingpandas/moving

    Any feedback / ideas welcome!

  2. RE: wisskomm.social/@ioer/11589933

    I really took a deep dive into #datashader with this map: Locals & Tourists in Germany, as derived from 67 Million Geo-Social Media Posts (2007-2022) in Germany. The data includes public shared posts from Instagram, Flickr, Twitter and iNaturalist.

    I always wanted to create such a map, following the footsteps of Eric Fisher's Locals & Tourists dataset from 2011 [1].

    I shared the code for producing this map here [2]. The repository is available here [3]. This includes some neat methods for various #geospatial processing tasks in #Python, such as exporting a datashader map to a #GeoTiff [4] with the help of #Xarray and #Rasterio.

    Finally, all of this was created in a privacy-preserving way using #HyperLogLog, which allowed me to share the code and abstracted data publicly for full reproducibility and transparency. [6] #FAIR

    Below you'll find the link to the (quite succinct) publication in Natur und Landschaft in Karten (#NuL).

    [1]: flickr.com/photos/walkingsf/al
    [2]: code.ad.ioer.info/wip/digital_
    [3]: gitlab.hrz.tu-chemnitz.de/ad/d
    [4]: gitlab.hrz.tu-chemnitz.de/s739
    [5]: nul-online.de/article-7301410-
    [6]: doi.org/10.71830/VDMUWW

  3. RE: wisskomm.social/@ioer/11589933

    I really took a deep dive into #datashader with this map: Locals & Tourists in Germany, as derived from 67 Million Geo-Social Media Posts (2007-2022) in Germany. The data includes public shared posts from Instagram, Flickr, Twitter and iNaturalist.

    I always wanted to create such a map, following the footsteps of Eric Fisher's Locals & Tourists dataset from 2011 [1].

    I shared the code for producing this map here [2]. The repository is available here [3]. This includes some neat methods for various #geospatial processing tasks in #Python, such as exporting a datashader map to a #GeoTiff [4] with the help of #Xarray and #Rasterio.

    Finally, all of this was created in a privacy-preserving way using #HyperLogLog, which allowed me to share the code and abstracted data publicly for full reproducibility and transparency. [6] #FAIR

    Below you'll find the link to the (quite succinct) publication in Natur und Landschaft in Karten (#NuL).

    [1]: flickr.com/photos/walkingsf/al
    [2]: code.ad.ioer.info/wip/digital_
    [3]: gitlab.hrz.tu-chemnitz.de/ad/d
    [4]: gitlab.hrz.tu-chemnitz.de/s739
    [5]: nul-online.de/article-7301410-
    [6]: doi.org/10.71830/VDMUWW

  4. 🚨 New version of xarray-grass 🚨

    I'm glad to announce that I've release version 0.4.0 of xarray-grass! It comes with many improvements: 🚀 Lazy loading of GRASS space-time datasets, 📅 Better management of time dimensions, including support of units when writing relative-time series to GRASS
    🗘 Automatic transposition of arrays when writing to GRASS.

    Try it today !

    pypi.org/project/xarray-grass/

    @grassgis #xarray

  5. I am excited to announce xarray-grass, a new free software Python library designed to bridge two open source data science heavy weights: @grassgis and #xarray (xarray.dev/).

    Although xarray-grass is in its nascent phase, I encourage you to check out the repository on GitHub (github.com/lrntct/xarray-grass) and experiment with it. Your insights and contributions will play a significant role in the project's future.

  6. I am really looking forward to a time when scientific data analysis is less of a constant fuckaround and fight with technical bullshit. I'd *really* like

    - natively supporting complex numbers
    - and to natively support physical units ( is great on its own but the integrations leave a LOT to be desired)
    - notebooks to suck less (crashes, glitches, widget plots not saved statically, an effing BUILTIN formatter, etc.)
    - proper data pipeline systems
    ...

  7. I am really looking forward to a time when scientific data analysis is less of a constant fuckaround and fight with technical bullshit. I'd *really* like

    - #netCDF natively supporting complex numbers
    - #Python #xarray and #pandas to natively support physical units (#pint is great on its own but the integrations leave a LOT to be desired)
    - #Jupyter notebooks to suck less (crashes, glitches, widget plots not saved statically, an effing BUILTIN formatter, etc.)
    - proper data pipeline systems
    ...

  8. I am really looking forward to a time when scientific data analysis is less of a constant fuckaround and fight with technical bullshit. I'd *really* like

    - #netCDF natively supporting complex numbers
    - #Python #xarray and #pandas to natively support physical units (#pint is great on its own but the integrations leave a LOT to be desired)
    - #Jupyter notebooks to suck less (crashes, glitches, widget plots not saved statically, an effing BUILTIN formatter, etc.)
    - proper data pipeline systems
    ...

  9. I am really looking forward to a time when scientific data analysis is less of a constant fuckaround and fight with technical bullshit. I'd *really* like

    - #netCDF natively supporting complex numbers
    - #Python #xarray and #pandas to natively support physical units (#pint is great on its own but the integrations leave a LOT to be desired)
    - #Jupyter notebooks to suck less (crashes, glitches, widget plots not saved statically, an effing BUILTIN formatter, etc.)
    - proper data pipeline systems
    ...

  10. I am really looking forward to a time when scientific data analysis is less of a constant fuckaround and fight with technical bullshit. I'd *really* like

    - #netCDF natively supporting complex numbers
    - #Python #xarray and #pandas to natively support physical units (#pint is great on its own but the integrations leave a LOT to be desired)
    - #Jupyter notebooks to suck less (crashes, glitches, widget plots not saved statically, an effing BUILTIN formatter, etc.)
    - proper data pipeline systems
    ...

  11. 𝗚𝗲𝗼𝘀𝗽𝗮𝘁𝗶𝗮𝗹 𝗣𝘆𝘁𝗵𝗼𝗻 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹𝘀
    SpatialThoughts provides tutorials which cover a broad range of geospatial topics and technologies, e.g., #GeoPandas, #XArray, #dask, and more. Each technology is described in a notebook with step-by-step explanation. Check it out.
    geopythontutorials.com

  12. Exporting an #xarray array containing an irregular mesh to geotiff is still something that is “not a breeze”

  13. Justus made a great intro on using #DGGS through #xarray #xdggs at the #Pangeo showcase talk. Xdggs is now in a stage where you can use it fairly robustly with #HEALPIX and #H3. Other integrations like for #DGGRID are developed as separate plugins.

    youtube.com/watch?v=bAMGFKsxsj

  14. Justus made a great intro on using through at the showcase talk. Xdggs is now in a stage where you can use it fairly robustly with and . Other integrations like for are developed as separate plugins.

    youtube.com/watch?v=bAMGFKsxsj

  15. Justus made a great intro on using #DGGS through #xarray #xdggs at the #Pangeo showcase talk. Xdggs is now in a stage where you can use it fairly robustly with #HEALPIX and #H3. Other integrations like for #DGGRID are developed as separate plugins.

    youtube.com/watch?v=bAMGFKsxsj

  16. Justus made a great intro on using #DGGS through #xarray #xdggs at the #Pangeo showcase talk. Xdggs is now in a stage where you can use it fairly robustly with #HEALPIX and #H3. Other integrations like for #DGGRID are developed as separate plugins.

    youtube.com/watch?v=bAMGFKsxsj

  17. Justus made a great intro on using #DGGS through #xarray #xdggs at the #Pangeo showcase talk. Xdggs is now in a stage where you can use it fairly robustly with #HEALPIX and #H3. Other integrations like for #DGGRID are developed as separate plugins.

    youtube.com/watch?v=bAMGFKsxsj

  18. ... while I find ChatGPT increasingly useful for technical things like telling me how to manipulate #xarray datasets in #python, or how to add a docstring to my python routine.

  19. I am moving all my computing libraries to , no regrets. It is a natural way to manipulate datasets of rectangular arrays, with named coordinates and dimensions: xarray.dev/
    There are several possible backends, including which allows lazy data loading.
    I had the pleasure of meeting some of the devs last week, who showed me a preview of the upcoming `DataTree` structure which is going to make this library even more versatile!

  20. 🌍📊 Want to work with NetCDF files in Python? My tutorial series covers everything from opening and plotting NetCDF data to creating CF-compliant files for FAIR data publication.

    Whether you're new to NetCDF or looking to enhance your skills, I've got you covered! 🚀 Check it out: lhmarsden.github.io/NetCDF_in_

    Topics include:
    🔸Extracting data 📝
    🔸Plotting 📈
    🔸Creating CF-compliant files 🌐
    🔸Granularity 🖥️
    🔸CF & ACDD 🖥️

    Suggestions? Let me know! #Python #DataScience #NetCDF #xarray #FAIRData #ClimateData

  21. My mental picture of image files has always been of pixels covering a surface as tiles each like a tiny rectangular shapefile.

    Investigating #Python #xarray has made me see the elegance of handling images as a grid of equally spaced dimensionless sensor readings. Upscaling/downscaling and interpolation become more meaningful and lossless, and image data is functionally identical to (although denser than) other point-based sensor data (e.g. weather stations).

    The data science becomes so clean.

  22. Py3DEP [hydroclimate analysis]
    --
    pypi.org/project/py3dep/ <-- link to app / resources
    --
    “Py3DEP is a part of [PyGeoUtils] HyRiver software stack that is designed to aid in hydroclimate analysis through web services. This package provides access to the 3DEP database which is a part of the National Map services. The 3DEP service has multi-resolution sources and depending on the user-provided resolution, the data is resampled on the server-side based on all the available data sources. Py3DEP returns the requests as xarray dataset…”
    #GIS #spatial #mapping #Py3DEP #PyGeoUtils #HyRiver #softwarestack #elevation #3DEP #USGS #NationalMap #opendata #processing #spatialanalysis #hydroclimate #water #hydrology #webservices #xarray
    @HyRiver @USGS

  23. Excellent job opportunity: community developer at Earthmover PBC:

    github.com/pydata/xarray/discu

    US-only 😞, but remote available 😊. And the Earthmover folks are awesome!

  24. @conorosully @lavergnetho Also, consider getting a Microsoft Planetary Computer account. Although Google's equivalent has been around longer, #PlanetaryComputer allows you to do these things easily with standard Python tools and libraries (eg #xarray )

  25. It's sprint day of ! Fun with teams and so far. Now, post-lunch, we're ready for round two.

    As always, stop by if you're in interested in the remaining swag.

    @scipy2023

  26. Going back to more #dataAnalysis stuff - who wants to learn to use #XArray and #Pangeo? Apparently this was left over from the #CMIP6ArcticBootcamp (see birdsite for more on that #) but I shared it with student the other day and this really is a nice introduction to the tools..
    6/
    medium.com/pangeo/easy-ipcc-pa

  27. Preparing demos for next week at . Here is a sneak peek (turn on the audio, best with headphones). See you there!

    💨💨 🔊💨💨

  28. So it begins!
    Climatematch Summer School starts today and we are really excited to see what you will achieve during the course!
    This week will start with an intro chapter on the Earth’s Climate Systems and we will learn about Earth’s past, present and future climate. The main focus will be on Xarray Python package 🐍​ 📦​ and how to manipulate large climate dataset. A huge thank to #ProjectPythia, code and data of this tutorial is based on their content.
    We hope all our students and staff will learn a lot during this two weeks. Send us pictures, video, audio or artwork from your learning journey!🛫

    #python #climatematch #xarray #climate

  29. It's sprint day of #SciPy2023! Fun with teams #xarray and #astropy so far. Now, post-lunch, we're ready for round two.

    As always, stop by if you're in interested in the remaining swag.

    @scipy2023

  30. It's sprint day of #SciPy2023! Fun with teams #xarray and #astropy so far. Now, post-lunch, we're ready for round two.

    As always, stop by if you're in interested in the remaining swag.

    @scipy2023

  31. It's sprint day of #SciPy2023! Fun with teams #xarray and #astropy so far. Now, post-lunch, we're ready for round two.

    As always, stop by if you're in interested in the remaining swag.

    @scipy2023

  32. It's sprint day of #SciPy2023! Fun with teams #xarray and #astropy so far. Now, post-lunch, we're ready for round two.

    As always, stop by if you're in interested in the remaining swag.

    @scipy2023

  33. Going back to more #dataAnalysis stuff - who wants to learn to use #XArray and #Pangeo? Apparently this was left over from the #CMIP6ArcticBootcamp (see birdsite for more on that #) but I shared it with student the other day and this really is a nice introduction to the tools..
    6/
    medium.com/pangeo/easy-ipcc-pa

  34. Going back to more #dataAnalysis stuff - who wants to learn to use #XArray and #Pangeo? Apparently this was left over from the #CMIP6ArcticBootcamp (see birdsite for more on that #) but I shared it with student the other day and this really is a nice introduction to the tools..
    6/
    medium.com/pangeo/easy-ipcc-pa

  35. Going back to more #dataAnalysis stuff - who wants to learn to use #XArray and #Pangeo? Apparently this was left over from the #CMIP6ArcticBootcamp (see birdsite for more on that #) but I shared it with student the other day and this really is a nice introduction to the tools..
    6/
    medium.com/pangeo/easy-ipcc-pa

  36. Going back to more #dataAnalysis stuff - who wants to learn to use #XArray and #Pangeo? Apparently this was left over from the #CMIP6ArcticBootcamp (see birdsite for more on that #) but I shared it with student the other day and this really is a nice introduction to the tools..
    6/
    medium.com/pangeo/easy-ipcc-pa

  37. Hey enthusiasts! I've also released v0.3.0 and now you have access to v0.3.0 in ! 🐍🛰️🌿

    Check it here: github.com/awesome-spectral-in

    You can use it for , (geo)pandas, , and ! 🚀😉

  38. So what's the easiest way to handle time and date data with timezone information in #python (#pandas, #datetime, #numpy, or #xarray). I find myself switching back and forth between datetime64, Timestamp, adding timedelta or tzinfo haphazardly and have never really settled on what's the best way to handle these data. I'm primarily working with pandas dataframes or xarray datasets. #programmingHelp

  39. Py3DEP [hydroclimate analysis]
    --
    pypi.org/project/py3dep/ <-- link to app / resources
    --
    “Py3DEP is a part of [PyGeoUtils] HyRiver software stack that is designed to aid in hydroclimate analysis through web services. This package provides access to the 3DEP database which is a part of the National Map services. The 3DEP service has multi-resolution sources and depending on the user-provided resolution, the data is resampled on the server-side based on all the available data sources. Py3DEP returns the requests as xarray dataset…”
    #GIS #spatial #mapping #Py3DEP #PyGeoUtils #HyRiver #softwarestack #elevation #3DEP #USGS #NationalMap #opendata #processing #spatialanalysis #hydroclimate #water #hydrology #webservices #xarray
    @HyRiver @USGS