Opened 21 months ago

Last modified 7 months ago

#2378 new enhancement

rasterio plug-ins

Reported by: darkblueb Owned by: osgeolive@…
Priority: normal Milestone: OSGeoLive16.0
Component: OSGeoLive Keywords: python, rasterio
Cc: osgeolive@…

Description (last modified by darkblueb)

ol15 build122

rasterio packaged can make use of optional plug-ins. Popular and useful titles:

[ rio-cogeo, rio-tiler, rio-toa, rio-mucho ].

sample install session

$ pip install --user rio-cogeo
Collecting rio-cogeo
  Downloading rio_cogeo-3.3.0-py3-none-any.whl (19 kB)
Requirement already satisfied: numpy~=1.15 in /usr/lib/python3/dist-packages (from rio-cogeo) (1.21.5)
Requirement already satisfied: rasterio>=1.1 in /usr/lib/python3/dist-packages (from rio-cogeo) (1.2.10)
Requirement already satisfied: click>=7.0 in /usr/lib/python3/dist-packages (from rio-cogeo) (8.0.3)
Collecting morecantile<4.0,>=3.1
  Downloading morecantile-3.1.2.tar.gz (25 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: pydantic in /usr/lib/python3/dist-packages (from rio-cogeo) (1.8.2)
Requirement already satisfied: attrs in /usr/lib/python3/dist-packages (from morecantile<4.0,>=3.1->rio-cogeo) (21.2.0)
Requirement already satisfied: pyproj~=3.1 in /usr/lib/python3/dist-packages (from morecantile<4.0,>=3.1->rio-cogeo) (3.3.0)
Building wheels for collected packages: morecantile
  Building wheel for morecantile (setup.py) ... done
  Created wheel for morecantile: filename=morecantile-3.1.2-py3-none-any.whl size=32098 sha256=bb3518e0d6aaca9e38798fed8086a55e5ca289d5ca784497e7e1eb0eab2cb1ab
  Stored in directory: /home/dbb/.cache/pip/wheels/ee/4b/41/c76314563c37757c283d8f401f733f67bc13f9bd579a7a32be
Successfully built morecantile
Installing collected packages: morecantile, rio-cogeo

Successfully installed morecantile-3.1.2 rio-cogeo-3.3.0

$ pip install --user rio-mucho
Collecting rio-mucho
  Downloading rio_mucho-1.0.0-py3-none-any.whl (5.8 kB)
Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from rio-mucho) (1.21.5)
Requirement already satisfied: rasterio~=1.0 in /usr/lib/python3/dist-packages (from rio-mucho) (1.2.10)
Installing collected packages: rio-mucho
Successfully installed rio-mucho-1.0.0
dbb@ol15nightly:/home/shared/srcs_ol15$ pip install --user rio-tiler
Collecting rio-tiler
  Downloading rio_tiler-3.1.5-py3-none-any.whl (198 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 198.7/198.7 KB 371.2 kB/s eta 0:00:00
Requirement already satisfied: pydantic in /usr/lib/python3/dist-packages (from rio-tiler) (1.8.2)
Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from rio-tiler) (1.21.5)
Collecting rio-color
  Downloading rio-color-1.0.4.tar.gz (74 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.9/74.9 KB 382.6 kB/s eta 0:00:00
  Installing build dependencies ... |
done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pystac>=0.5.4
  Downloading pystac-1.4.0-py3-none-any.whl (137 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 137.4/137.4 KB 351.1 kB/s eta 0:00:00
Requirement already satisfied: rasterio>=1.1.7 in /usr/lib/python3/dist-packages (from rio-tiler) (1.2.10)
Collecting numexpr
  Downloading numexpr-2.8.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (381 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 381.3/381.3 KB 386.6 kB/s eta 0:00:00
Collecting httpx
  Downloading httpx-0.23.0-py3-none-any.whl (84 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.8/84.8 KB 379.3 kB/s eta 0:00:00
Collecting boto3
  Downloading boto3-1.24.31-py3-none-any.whl (132 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.5/132.5 KB 393.6 kB/s eta 0:00:00
Requirement already satisfied: cachetools in /usr/lib/python3/dist-packages (from rio-tiler) (5.0.0)
Requirement already satisfied: morecantile<4.0,>=3.1 in /home/dbb/.local/lib/python3.10/site-packages (from rio-tiler) (3.1.2)
Requirement already satisfied: attrs in /usr/lib/python3/dist-packages (from rio-tiler) (21.2.0)
Requirement already satisfied: pyproj~=3.1 in /usr/lib/python3/dist-packages (from morecantile<4.0,>=3.1->rio-tiler) (3.3.0)
Requirement already satisfied: python-dateutil>=2.7.0 in /usr/lib/python3/dist-packages (from pystac>=0.5.4->rio-tiler) (2.8.1)
Requirement already satisfied: jmespath<2.0.0,>=0.7.1 in /usr/lib/python3/dist-packages (from boto3->rio-tiler) (0.10.0)
Collecting botocore<1.28.0,>=1.27.31
  Downloading botocore-1.27.31-py3-none-any.whl (9.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.0/9.0 MB 390.0 kB/s eta 0:00:00
Collecting s3transfer<0.7.0,>=0.6.0
  Downloading s3transfer-0.6.0-py3-none-any.whl (79 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.6/79.6 KB 367.2 kB/s eta 0:00:00
Collecting sniffio
  Downloading sniffio-1.2.0-py3-none-any.whl (10 kB)
Collecting rfc3986[idna2008]<2,>=1.3
  Downloading rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)
Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from httpx->rio-tiler) (2020.6.20)
Collecting httpcore<0.16.0,>=0.15.0
  Downloading httpcore-0.15.0-py3-none-any.whl (68 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 68.4/68.4 KB 274.7 kB/s eta 0:00:00
Requirement already satisfied: packaging in /usr/lib/python3/dist-packages (from numexpr->rio-tiler) (21.3)
Requirement already satisfied: click>=4.0 in /usr/lib/python3/dist-packages (from rio-color->rio-tiler) (8.0.3)
Requirement already satisfied: rio-mucho in /home/dbb/.local/lib/python3.10/site-packages (from rio-color->rio-tiler) (1.0.0)
Requirement already satisfied: urllib3<1.27,>=1.25.4 in /usr/lib/python3/dist-packages (from botocore<1.28.0,>=1.27.31->boto3->rio-tiler) (1.26.5)
Collecting anyio==3.*
  Downloading anyio-3.6.1-py3-none-any.whl (80 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.6/80.6 KB 249.0 kB/s eta 0:00:00
Collecting h11<0.13,>=0.11
  Downloading h11-0.12.0-py3-none-any.whl (54 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.9/54.9 KB 350.1 kB/s eta 0:00:00
Requirement already satisfied: idna>=2.8 in /usr/lib/python3/dist-packages (from anyio==3.*->httpcore<0.16.0,>=0.15.0->httpx->rio-tiler) (3.3)
Building wheels for collected packages: rio-color
  Building wheel for rio-color (pyproject.toml) ... done
  Created wheel for rio-color: filename=rio_color-1.0.4-cp310-cp310-linux_x86_64.whl size=177722 sha256=c1d38726d15d20b44e702df3ce1580874ddfcdeccb51afa8af5f8a9959914aca
  Stored in directory: /home/dbb/.cache/pip/wheels/7b/5a/2d/90316693df333308e07aacf49c954fd7a2dc35e1034f7c6974
Successfully built rio-color
Installing collected packages: rfc3986, sniffio, pystac, numexpr, h11, botocore, s3transfer, rio-color, anyio, httpcore, boto3, httpx, rio-tiler


Successfully installed anyio-3.6.1 boto3-1.24.31 botocore-1.27.31 h11-0.12.0 httpcore-0.15.0 httpx-0.23.0 numexpr-2.8.3 pystac-1.4.0 rfc3986-1.5.0 rio-color-1.0.4 rio-tiler-3.1.5 s3transfer-0.6.0 sniffio-1.2.0

$ pip install --user rio-toa
Collecting rio-toa
  Downloading rio-toa-0.3.0.tar.gz (9.0 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: click in /usr/lib/python3/dist-packages (from rio-toa) (8.0.3)
Requirement already satisfied: rasterio in /usr/lib/python3/dist-packages (from rio-toa) (1.2.10)
Requirement already satisfied: rio-mucho in /home/dbb/.local/lib/python3.10/site-packages (from rio-toa) (1.0.0)
Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from rio-mucho->rio-toa) (1.21.5)
Building wheels for collected packages: rio-toa
  Building wheel for rio-toa (setup.py) ... done
  Created wheel for rio-toa: filename=rio_toa-0.3.0-py3-none-any.whl size=12424 sha256=411229f595450dcd4c9bd67d57b478c27f5034ee3d3a995eddbc75476de4191f
  Stored in directory: /home/dbb/.cache/pip/wheels/8a/5a/cd/c23390b0be04c4443ea0f74d082e4cc6e3851f0c5c9e2df43b
Successfully built rio-toa
Installing collected packages: rio-toa
Successfully installed rio-toa-0.3.0

Change history (9)

comment:1 by darkblueb, 21 months ago

Description: modified (diff)

comment:2 by darkblueb, 21 months ago

Description: modified (diff)

comment:3 by darkblueb, 21 months ago

metpy utils

$ pip install --user metpy
Collecting metpy
  Downloading MetPy-1.3.1-py3-none-any.whl (368 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 368.9/368.9 KB 379.8 kB/s eta 0:00:00
Requirement already satisfied: pandas>=1.0.0 in /usr/lib/python3/dist-packages (from metpy) (1.3.5)
Requirement already satisfied: xarray>=0.14.1 in /home/dbb/.local/lib/python3.10/site-packages (from metpy) (2022.3.0)
Requirement already satisfied: pyproj>=2.5.0 in /usr/lib/python3/dist-packages (from metpy) (3.3.0)
Requirement already satisfied: scipy>=1.4.0 in /usr/lib/python3/dist-packages (from metpy) (1.8.0)
Collecting pooch>=1.2.0
  Downloading pooch-1.6.0-py3-none-any.whl (56 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.3/56.3 KB 391.1 kB/s eta 0:00:00
Requirement already satisfied: traitlets>=4.3.0 in /usr/lib/python3/dist-packages (from metpy) (5.1.1)
Requirement already satisfied: matplotlib>=3.3.0 in /usr/lib/python3/dist-packages (from metpy) (3.5.1)
Collecting pint>=0.10.1
  Downloading Pint-0.19.2.tar.gz (292 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 292.0/292.0 KB 387.6 kB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.18.0 in /usr/lib/python3/dist-packages (from metpy) (1.21.5)
Requirement already satisfied: appdirs>=1.3.0 in /usr/lib/python3/dist-packages (from pooch>=1.2.0->metpy) (1.4.4)
Requirement already satisfied: requests>=2.19.0 in /usr/lib/python3/dist-packages (from pooch>=1.2.0->metpy) (2.25.1)
Requirement already satisfied: packaging>=20.0 in /usr/lib/python3/dist-packages (from pooch>=1.2.0->metpy) (21.3)
Building wheels for collected packages: pint
  Building wheel for pint (pyproject.toml) ... done
  Created wheel for pint: filename=Pint-0.19.2-py3-none-any.whl size=231021 sha256=7bdcebb32c2814744d9e4908b82698d947200fc365f3f0342646f5862cc92a7b
  Stored in directory: /home/dbb/.cache/pip/wheels/eb/00/87/c216aa83b91597845d9fec6fcd9dbe31c945a25d968dd4765a
Successfully built pint
Installing collected packages: pooch, pint, metpy
Successfully installed metpy-1.3.1 pint-0.19.2 pooch-1.6.0

s$ tree metpy/
metpy/
├── calc
│   ├── basic.py
│   ├── cross_sections.py
│   ├── exceptions.py
│   ├── indices.py
│   ├── __init__.py
│   ├── kinematics.py
│   ├── __pycache__
│   │   ├── basic.cpython-310.pyc
│   │   ├── cross_sections.cpython-310.pyc
│   │   ├── exceptions.cpython-310.pyc
│   │   ├── indices.cpython-310.pyc
│   │   ├── __init__.cpython-310.pyc
│   │   ├── kinematics.cpython-310.pyc
│   │   ├── thermo.cpython-310.pyc
│   │   ├── tools.cpython-310.pyc
│   │   └── turbulence.cpython-310.pyc
│   ├── thermo.py
│   ├── tools.py
│   └── turbulence.py
├── cbook.py
├── constants
│   ├── default.py
│   ├── __init__.py
│   ├── nounit.py
│   └── __pycache__
│       ├── default.cpython-310.pyc
│       ├── __init__.cpython-310.pyc
│       └── nounit.cpython-310.pyc
├── deprecation.py
├── future.py
├── __init__.py
├── interpolate
│   ├── geometry.py
│   ├── grid.py
│   ├── __init__.py
│   ├── one_dimension.py
│   ├── points.py
│   ├── __pycache__
│   │   ├── geometry.cpython-310.pyc
│   │   ├── grid.cpython-310.pyc
│   │   ├── __init__.cpython-310.pyc
│   │   ├── one_dimension.cpython-310.pyc
│   │   ├── points.cpython-310.pyc
│   │   ├── slices.cpython-310.pyc
│   │   └── tools.cpython-310.pyc
│   ├── slices.py
│   └── tools.py
├── io
│   ├── gempak.py
│   ├── gini.py
│   ├── __init__.py
│   ├── _metar_parser
│   │   ├── Makefile
│   │   ├── metar_parser.peg
│   │   ├── metar_parser.py
│   │   └── __pycache__
│   │       └── metar_parser.cpython-310.pyc
│   ├── metar.py
│   ├── _nexrad_msgs
│   │   ├── __init__.py
│   │   ├── msg18.py
│   │   ├── msg3.py
│   │   └── __pycache__
│   │       ├── __init__.cpython-310.pyc
│   │       ├── msg18.cpython-310.pyc
│   │       └── msg3.cpython-310.pyc
│   ├── nexrad.py
│   ├── __pycache__
│   │   ├── gempak.cpython-310.pyc
│   │   ├── gini.cpython-310.pyc
│   │   ├── __init__.cpython-310.pyc
│   │   ├── metar.cpython-310.pyc
│   │   ├── nexrad.cpython-310.pyc
│   │   ├── station_data.cpython-310.pyc
│   │   └── _tools.cpython-310.pyc
│   ├── station_data.py
│   └── _tools.py
├── package_tools.py
├── pandas.py
├── plots
│   ├── cartopy_utils.py
│   ├── colortable_files
│   │   ├── Carbone42.tbl
│   │   ├── ir_bd.tbl
│   │   ├── ir_drgb.tbl
│   │   ├── ir_rgbv.tbl
│   │   ├── ir_tpc.tbl
│   │   ├── ir_tv1.tbl
│   │   ├── NWS8bitVel.tbl
│   │   ├── NWSReflectivityExpanded.tbl
│   │   ├── NWSReflectivity.tbl
│   │   ├── NWSSpectrumWidth.tbl
│   │   ├── NWSStormClearReflectivity.tbl
│   │   ├── NWSVelocity.tbl
│   │   ├── precipitation.tbl
│   │   ├── rainbow.tbl
│   │   ├── WVCIMSS.tbl
│   │   └── wv_tpc.tbl
│   ├── ctables.py
│   ├── declarative.py
│   ├── fonts
│   │   ├── wx_symbols_license.md
│   │   └── wx_symbols.ttf
│   ├── __init__.py
│   ├── mapping.py
│   ├── _mpl.py
│   ├── nexrad_tables
│   │   ├── cc_table.tbl
│   │   ├── et_table.tbl
│   │   ├── hmc_table.tbl
│   │   ├── kdp_table.tbl
│   │   ├── lcr_tabl.tbl
│   │   ├── ml_table.tbl
│   │   ├── osw_table.tbl
│   │   ├── precip_table.tbl
│   │   ├── ref_table8.tbl
│   │   ├── ref_table.tbl
│   │   ├── spw_table.tbl
│   │   ├── srm_table.tbl
│   │   ├── ulr_table.tbl
│   │   ├── vad_table.tbl
│   │   ├── vel_table8.tbl
│   │   ├── vel_table.tbl
│   │   ├── vil_table.tbl
│   │   ├── vwp_table.tbl
│   │   └── zdr_table.tbl
│   ├── __pycache__
│   │   ├── cartopy_utils.cpython-310.pyc
│   │   ├── ctables.cpython-310.pyc
│   │   ├── declarative.cpython-310.pyc
│   │   ├── __init__.cpython-310.pyc
│   │   ├── mapping.cpython-310.pyc
│   │   ├── _mpl.cpython-310.pyc
│   │   ├── skewt.cpython-310.pyc
│   │   ├── station_plot.cpython-310.pyc
│   │   ├── _util.cpython-310.pyc
│   │   └── wx_symbols.cpython-310.pyc
│   ├── skewt.py
│   ├── _static
│   │   ├── metpy_150x150.png
│   │   ├── metpy_75x75.png
│   │   ├── unidata_150x150.png
│   │   └── unidata_75x75.png
│   ├── station_plot.py
│   ├── _util.py
│   └── wx_symbols.py
├── __pycache__
│   ├── cbook.cpython-310.pyc
│   ├── deprecation.cpython-310.pyc
│   ├── future.cpython-310.pyc
│   ├── __init__.cpython-310.pyc
│   ├── package_tools.cpython-310.pyc
│   ├── pandas.cpython-310.pyc
│   ├── testing.cpython-310.pyc
│   ├── units.cpython-310.pyc
│   ├── _version.cpython-310.pyc
│   └── xarray.cpython-310.pyc
├── static-data-manifest.txt
├── testing.py
├── units.py
├── _vendor
│   ├── __init__.py
│   ├── __pycache__
│   │   ├── __init__.cpython-310.pyc
│   │   └── xarray.cpython-310.pyc
│   └── xarray.py
├── _version.py
└── xarray.py

Version 0, edited 21 months ago by darkblueb (next)

comment:4 by kalxas, 15 months ago

Milestone: OSGeoLive15.0OSGeoLive16.0

Ticket retargeted after milestone closed

comment:5 by darkblueb, 11 months ago

ol16 alpha 3 update:

$pip3 install --user rio-cogeo
 ... 
    Downloading rio_cogeo-3.5.1-py3-none-any.whl (19 kB)
 ...
Requirement already satisfied: rasterio>=1.3.3 in /usr/lib/python3/dist-packages (from rio-cogeo) (1.3.4)
Collecting morecantile<4.0,>=3.1
  Downloading morecantile-3.3.0-py3-none-any.whl (33 kB)
 ...

user@osgeolive:~$ pip3 install --upgrade-strategy=only-if-needed --user rio-tiler
Collecting rio-tiler
  Downloading rio_tiler-4.1.10-py3-none-any.whl (207 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 208.0/208.0 KB 269.0 kB/s eta 0:00:00
Collecting color-operations
  Downloading color_operations-0.1.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (131 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 131.7/131.7 KB 277.5 kB/s eta 0:00:00

Collecting httpx
  Downloading httpx-0.24.0-py3-none-any.whl (75 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.3/75.3 KB 286.4 kB/s eta 0:00:00
Collecting numexpr
  Downloading numexpr-2.8.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (381 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 381.4/381.4 KB 271.8 kB/s eta 0:00:00

Collecting sniffio
  Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting httpcore<0.18.0,>=0.15.0
  Downloading httpcore-0.17.0-py3-none-any.whl (70 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.6/70.6 KB 287.6 kB/s eta 0:00:00
Requirement already satisfied: idna in /usr/lib/python3/dist-packages (from httpx->rio-tiler) (3.3)
Collecting h11<0.15,>=0.13
  Downloading h11-0.14.0-py3-none-any.whl (58 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 KB 300.1 kB/s eta 0:00:00
Collecting anyio<5.0,>=3.0
  Downloading anyio-3.6.2-py3-none-any.whl (80 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.6/80.6 KB 293.8 kB/s eta 0:00:00
Installing collected packages: sniffio, numexpr, h11, color-operations, anyio, httpcore, httpx, rio-tiler
Successfully installed anyio-3.6.2 color-operations-0.1.1 h11-0.14.0 httpcore-0.17.0 httpx-0.24.0 numexpr-2.8.4 rio-tiler-4.1.10 sniffio-1.3.0
 -
user@osgeolive:~$ pip3 install --upgrade-strategy=only-if-needed --user rio-toa
Collecting rio-toa
  Downloading rio-toa-0.3.0.tar.gz (9.0 kB)
  Preparing metadata (setup.py) ... done

Collecting rio-mucho
  Downloading rio_mucho-1.0.0-py3-none-any.whl (5.8 kB)
 ...
Building wheels for collected packages: rio-toa
  Building wheel for rio-toa (setup.py) ... done
  Created wheel for rio-toa: filename=rio_toa-0.3.0-py3-none-any.whl size=12424 sha256=7c0708c0609fd60cf749c61b872059a0c9c74f15d24009c2b443bd0bed7c1d79
  Stored in directory: /home/user/.cache/pip/wheels/8a/5a/cd/c23390b0be04c4443ea0f74d082e4cc6e3851f0c5c9e2df43b
Successfully built rio-toa
Installing collected packages: rio-mucho, rio-toa
Successfully installed rio-mucho-1.0.0 rio-toa-0.3.0

comment:6 by kalxas, 11 months ago

Cc: osgeolive@… added

comment:7 by darkblueb, 10 months ago

ol16 beta1

user@osgeolive:~$ python3 -m pip install --upgrade-strategy=only-if-needed --user  rio-cogeo
Collecting rio-cogeo
  Downloading rio_cogeo-4.0.0-py3-none-any.whl (19 kB)
Collecting morecantile<5.0,>=4.0
  Downloading morecantile-4.2.0-py3-none-any.whl (36 kB)
    ...
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from rasterio>=1.3.3->rio-cogeo) (59.6.0)
Installing collected packages: morecantile, rio-cogeo
  WARNING: The script morecantile is installed in '/home/user/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.                                                                                             
Successfully installed morecantile-4.2.0 rio-cogeo-4.0.0               

comment:8 by darkblueb, 9 months ago

package candidate -- https://github.com/aio-libs/aiobotocore

warning: complicated requirements, currently used by odc-tools but PaulH tells me they want to get away from it. FYI

comment:9 by darkblueb, 7 months ago

ol16 RC1

user@osgeolive:~$ pip3 install --user --upgrade-strategy=only-if-needed rio-cogeo                  
Collecting rio-cogeo                                                                               
  Downloading rio_cogeo-5.0.0-py3-none-any.whl (19 kB)                                             
Requirement already satisfied: numpy~=1.15 in /usr/lib/python3/dist-packages (from rio-cogeo) (1.21.5)                                                                                                
Collecting pydantic~=2.0                                                                           
  Downloading pydantic-2.3.0-py3-none-any.whl (374 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 374.5/374.5 KB 243.3 kB/s eta 0:00:00
Requirement already satisfied: rasterio>=1.3.3 in /usr/lib/python3/dist-packages (from rio-cogeo) (1.3.4)
Collecting morecantile<6.0,>=5.0
  Downloading morecantile-5.0.0-py3-none-any.whl (48 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.6/48.6 KB 301.0 kB/s eta 0:00:00
Requirement already satisfied: click>=7.0 in /usr/lib/python3/dist-packages (from rio-cogeo) (8.0.3)
Requirement already satisfied: pyproj~=3.1 in /usr/lib/python3/dist-packages (from morecantile<6.0,>=5.0->rio-cogeo) (3.4.0)
Requirement already satisfied: attrs in /usr/lib/python3/dist-packages (from morecantile<6.0,>=5.0->rio-cogeo) (21.2.0)
Collecting pydantic-core==2.6.3
  Downloading pydantic_core-2.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 247.8 kB/s eta 0:00:00
Collecting annotated-types>=0.4.0
  Downloading annotated_types-0.5.0-py3-none-any.whl (11 kB)
Collecting typing-extensions>=4.6.1
  Downloading typing_extensions-4.7.1-py3-none-any.whl (33 kB)
Requirement already satisfied: cligj>=0.5 in /usr/lib/python3/dist-packages (from rasterio>=1.3.3->rio-cogeo) (0.7.2)
Requirement already satisfied: affine in /usr/lib/python3/dist-packages (from rasterio>=1.3.3->rio-cogeo) (2.3.0)
Requirement already satisfied: click-plugins in /usr/lib/python3/dist-packages (from rasterio>=1.3.3->rio-cogeo) (1.1.1)
Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from rasterio>=1.3.3->rio-cogeo) (2020.6.20)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from rasterio>=1.3.3->rio-cogeo) (59.6.0)
Requirement already satisfied: snuggs>=1.4.1 in /usr/lib/python3/dist-packages (from rasterio>=1.3.3->rio-cogeo) (1.4.7)
Installing collected packages: typing-extensions, annotated-types, pydantic-core, pydantic, morecantile, rio-cogeo
  WARNING: The script morecantile is installed in '/home/user/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.                                                                                   
Successfully installed annotated-types-0.5.0 morecantile-5.0.0 pydantic-2.3.0 pydantic-core-2.6.3 rio-cogeo-5.0.0 typing-extensions-4.7.1

Note: See TracTickets for help on using tickets.