[OSGeoLive] #2428: xarray io for netCDF

OSGeoLive trac_osgeolive at osgeo.org
Sun Oct 27 19:59:01 PDT 2024


#2428: xarray io for netCDF
------------------------------+----------------------------
 Reporter:  darkblueb         |       Owner:  osgeolive@…
     Type:  enhancement       |      Status:  new
 Priority:  major             |   Milestone:  OSGeoLive17.0
Component:  OSGeoLive         |  Resolution:
 Keywords:  python, datacube  |
------------------------------+----------------------------
Comment (by darkblueb):

 **ol17_build95**

 {{{
 user at osgeolive:~/Downloads$ python3 -m pip install --upgrade-strategy
 =only-if-needed --break-system-packages  --user  "xarray[io]"
 Requirement already satisfied: xarray[io] in /usr/lib/python3/dist-
 packages (2024.2.0)
 Requirement already satisfied: cftime in /usr/lib/python3/dist-packages
 (from xarray[io]) (1.6.3)
 Requirement already satisfied: fsspec in /usr/lib/python3/dist-packages
 (from xarray[io]) (2024.2.0)
 Collecting h5netcdf (from xarray[io])
   Downloading h5netcdf-1.4.0-py3-none-any.whl.metadata (13 kB)
 Requirement already satisfied: netCDF4 in /usr/lib/python3/dist-packages
 (from xarray[io]) (1.6.5)
 Collecting pooch (from xarray[io])
   Downloading pooch-1.8.2-py3-none-any.whl.metadata (10 kB)
 Requirement already satisfied: scipy in /usr/lib/python3/dist-packages
 (from xarray[io]) (1.11.4)
 Collecting zarr (from xarray[io])
   Downloading zarr-2.18.3-py3-none-any.whl.metadata (5.7 kB)
 Requirement already satisfied: numpy>=1.26.0b1 in /usr/lib/python3/dist-
 packages (from cftime->xarray[io]) (1.26.4)
 Collecting h5py (from h5netcdf->xarray[io])
   Downloading
 h5py-3.12.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
 (2.5 kB)
 Requirement already satisfied: packaging in /usr/lib/python3/dist-packages
 (from h5netcdf->xarray[io]) (24.0)
 Requirement already satisfied: certifi in /usr/lib/python3/dist-packages
 (from netCDF4->xarray[io]) (2023.11.17)
 Requirement already satisfied: platformdirs>=2.5.0 in /usr/lib/python3
 /dist-packages (from pooch->xarray[io]) (4.2.0)
 Requirement already satisfied: requests>=2.19.0 in /usr/lib/python3/dist-
 packages (from pooch->xarray[io]) (2.31.0)
 Collecting asciitree (from zarr->xarray[io])
   Downloading asciitree-0.3.3.tar.gz (4.0 kB)
   Preparing metadata (setup.py) ... done
 Collecting numcodecs>=0.10.0 (from zarr->xarray[io])
   Downloading
 numcodecs-0.13.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
 (2.9 kB)
 Collecting fasteners (from zarr->xarray[io])
   Downloading fasteners-0.19-py3-none-any.whl.metadata (4.9 kB)
 Downloading h5netcdf-1.4.0-py3-none-any.whl (50 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.0/50.0 kB 282.5 kB/s eta
 0:00:00
 Downloading pooch-1.8.2-py3-none-any.whl (64 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.6/64.6 kB 284.0 kB/s eta
 0:00:00
 Downloading zarr-2.18.3-py3-none-any.whl (210 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 210.7/210.7 kB 288.0 kB/s eta
 0:00:00
 Downloading
 numcodecs-0.13.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
 (8.9 MB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.9/8.9 MB 260.4 kB/s eta
 0:00:00
 Downloading fasteners-0.19-py3-none-any.whl (18 kB)
 Downloading
 h5py-3.12.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
 (5.4 MB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.4/5.4 MB 242.1 kB/s eta
 0:00:00
 Building wheels for collected packages: asciitree
   Building wheel for asciitree (setup.py) ... done
   Created wheel for asciitree: filename=asciitree-0.3.3-py3-none-any.whl
 size=5033
 sha256=3ec4432f51ed832a40ee9d5e3f0b3a60aae6b733d0acb0242688dd56299cefb4
   Stored in directory:
 /home/user/.cache/pip/wheels/a5/d7/98/f56ae733748cd0fa577172bda0e73e0b1f1793c98e09b9e458
 Successfully built asciitree
 Installing collected packages: asciitree, pooch, numcodecs, h5py,
 fasteners, zarr, h5netcdf
 Successfully installed asciitree-0.3.3 fasteners-0.19 h5netcdf-1.4.0
 h5py-3.12.1
  numcodecs-0.13.1 pooch-1.8.2 zarr-2.18.3
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2428#comment:8>
OSGeoLive <https://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.


More information about the osgeolive mailing list