rio-tiler 7.6.0__tar.gz → 7.7.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/PKG-INFO +1 -1
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/pyproject.toml +1 -1
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/__init__.py +1 -1
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/io/xarray.py +1 -1
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/reader.py +42 -9
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/utils.py +11 -1
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/.gitignore +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/AUTHORS.txt +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/LICENSE +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/README.md +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/__init__.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/accent.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/accent_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/afmhot.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/afmhot_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/algae.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/algae_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/amp.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/amp_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/autumn.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/autumn_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/balance.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/balance_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/binary.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/binary_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/blues.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/blues_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/bone.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/bone_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/brbg.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/brbg_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/brg.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/brg_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/bugn.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/bugn_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/bupu.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/bupu_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/bwr.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/bwr_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/cfastie.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/cividis.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/cividis_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/cmrmap.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/cmrmap_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/cool.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/cool_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/coolwarm.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/coolwarm_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/copper.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/copper_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/cubehelix.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/cubehelix_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/curl.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/curl_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/dark2.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/dark2_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/deep.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/deep_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/delta.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/delta_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/dense.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/dense_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/diff.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/diff_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/flag.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/flag_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gist_earth.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gist_earth_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gist_gray.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gist_gray_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gist_heat.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gist_heat_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gist_ncar.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gist_ncar_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gist_rainbow.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gist_rainbow_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gist_stern.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gist_stern_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gist_yarg.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gist_yarg_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gnbu.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gnbu_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gnuplot.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gnuplot2.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gnuplot2_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gnuplot_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gray.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/gray_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/greens.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/greens_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/greys.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/greys_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/haline.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/haline_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/hot.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/hot_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/hsv.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/hsv_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/ice.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/ice_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/inferno.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/inferno_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/jet.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/jet_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/magma.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/magma_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/matter.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/matter_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/nipy_spectral.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/nipy_spectral_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/ocean.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/ocean_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/oranges.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/oranges_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/orrd.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/orrd_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/oxy.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/oxy_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/paired.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/paired_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/pastel1.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/pastel1_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/pastel2.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/pastel2_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/phase.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/phase_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/pink.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/pink_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/piyg.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/piyg_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/plasma.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/plasma_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/prgn.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/prgn_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/prism.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/prism_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/pubu.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/pubu_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/pubugn.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/pubugn_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/puor.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/puor_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/purd.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/purd_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/purples.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/purples_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/rain.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/rain_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/rainbow.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/rainbow_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/rdbu.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/rdbu_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/rdgy.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/rdgy_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/rdpu.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/rdpu_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/rdylbu.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/rdylbu_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/rdylgn.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/rdylgn_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/reds.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/reds_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/rplumbo.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/schwarzwald.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/seismic.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/seismic_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/set1.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/set1_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/set2.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/set2_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/set3.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/set3_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/solar.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/solar_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/spectral.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/spectral_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/speed.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/speed_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/spring.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/spring_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/summer.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/summer_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/tab10.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/tab10_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/tab20.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/tab20_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/tab20b.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/tab20b_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/tab20c.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/tab20c_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/tarn.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/tarn_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/tempo.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/tempo_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/terrain.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/terrain_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/thermal.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/thermal_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/topo.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/topo_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/turbid.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/turbid_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/turbo.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/turbo_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/twilight.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/twilight_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/twilight_shifted.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/twilight_shifted_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/viridis.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/viridis_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/winter.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/winter_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/wistia.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/wistia_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/ylgn.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/ylgn_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/ylgnbu.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/ylgnbu_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/ylorbr.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/ylorbr_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/ylorrd.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/cmap_data/ylorrd_r.npy +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/colormap.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/constants.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/errors.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/experimental/__init__.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/experimental/vsifile.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/expression.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/io/__init__.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/io/base.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/io/rasterio.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/io/stac.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/logger.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/models.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/mosaic/__init__.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/mosaic/methods/__init__.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/mosaic/methods/base.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/mosaic/methods/defaults.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/mosaic/reader.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/profiles.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/py.typed +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/tasks.py +0 -0
- {rio_tiler-7.6.0 → rio_tiler-7.7.0}/rio_tiler/types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rio-tiler
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.7.0
|
|
4
4
|
Summary: User friendly Rasterio plugin to read raster datasets.
|
|
5
5
|
Project-URL: Homepage, https://cogeotiff.github.io/rio-tiler/
|
|
6
6
|
Project-URL: Documentation, https://cogeotiff.github.io/rio-tiler/
|
|
@@ -173,7 +173,7 @@ class XarrayReader(BaseReader):
|
|
|
173
173
|
if indexes := cast_to_sequence(indexes):
|
|
174
174
|
assert all(v > 0 for v in indexes), "Indexes value must be >= 1"
|
|
175
175
|
if da.ndim == 2:
|
|
176
|
-
if indexes != (1
|
|
176
|
+
if set(indexes) != set({1}):
|
|
177
177
|
raise ValueError(
|
|
178
178
|
f"Invalid indexes {indexes} for array of shape {da.shape}"
|
|
179
179
|
)
|
|
@@ -58,6 +58,12 @@ def _get_width_height(max_size, dataset_height, dataset_width) -> Tuple[int, int
|
|
|
58
58
|
return height, width
|
|
59
59
|
|
|
60
60
|
|
|
61
|
+
def _missing_size(w: Optional[int] = None, h: Optional[int] = None):
|
|
62
|
+
"""Check if one and only one size (width, height) is valid."""
|
|
63
|
+
iterator = iter([w, h])
|
|
64
|
+
return any(iterator) and not any(iterator)
|
|
65
|
+
|
|
66
|
+
|
|
61
67
|
def _apply_buffer(
|
|
62
68
|
buffer: float,
|
|
63
69
|
bounds: BBox,
|
|
@@ -124,11 +130,12 @@ def read(
|
|
|
124
130
|
"""
|
|
125
131
|
indexes = cast_to_sequence(indexes)
|
|
126
132
|
|
|
127
|
-
if max_size and width
|
|
133
|
+
if max_size and (width or height):
|
|
128
134
|
warnings.warn(
|
|
129
|
-
"'max_size' will be ignored with with 'height'
|
|
135
|
+
"'max_size' will be ignored with with 'height' or 'width' set.",
|
|
130
136
|
UserWarning,
|
|
131
137
|
)
|
|
138
|
+
max_size = None
|
|
132
139
|
|
|
133
140
|
io_resampling = Resampling[resampling_method]
|
|
134
141
|
warp_resampling = Resampling[reproject_method]
|
|
@@ -167,12 +174,11 @@ def read(
|
|
|
167
174
|
else:
|
|
168
175
|
dataset = src_dst
|
|
169
176
|
|
|
170
|
-
if max_size and not (width and height):
|
|
171
|
-
height, width = _get_width_height(max_size, dataset.height, dataset.width)
|
|
172
|
-
|
|
173
177
|
if indexes is None:
|
|
174
178
|
indexes = non_alpha_indexes(dataset)
|
|
175
179
|
|
|
180
|
+
max_height, max_width = dataset.height, dataset.width
|
|
181
|
+
|
|
176
182
|
boundless = False
|
|
177
183
|
if window:
|
|
178
184
|
if isinstance(window, tuple):
|
|
@@ -188,6 +194,18 @@ def read(
|
|
|
188
194
|
):
|
|
189
195
|
boundless = True
|
|
190
196
|
|
|
197
|
+
max_height, max_width = window.height, window.width
|
|
198
|
+
|
|
199
|
+
if max_size:
|
|
200
|
+
height, width = _get_width_height(max_size, max_height, max_width)
|
|
201
|
+
|
|
202
|
+
elif _missing_size(width, height):
|
|
203
|
+
ratio = max_height / max_width
|
|
204
|
+
if width:
|
|
205
|
+
height = math.ceil(width * ratio)
|
|
206
|
+
else:
|
|
207
|
+
width = math.ceil(height / ratio)
|
|
208
|
+
|
|
191
209
|
if ColorInterp.alpha in dataset.colorinterp and nodata is None:
|
|
192
210
|
# If dataset has an alpha band we need to get the mask using the alpha band index
|
|
193
211
|
# and then split the data and mask values
|
|
@@ -345,11 +363,12 @@ def part(
|
|
|
345
363
|
ImageData
|
|
346
364
|
|
|
347
365
|
"""
|
|
348
|
-
if max_size and width
|
|
366
|
+
if max_size and (width or height):
|
|
349
367
|
warnings.warn(
|
|
350
|
-
"'max_size' will be ignored with with 'height'
|
|
368
|
+
"'max_size' will be ignored with with 'height' or 'width' set.",
|
|
351
369
|
UserWarning,
|
|
352
370
|
)
|
|
371
|
+
max_size = None
|
|
353
372
|
|
|
354
373
|
if buffer and buffer % 0.5:
|
|
355
374
|
raise InvalidBufferSize(
|
|
@@ -389,9 +408,16 @@ def part(
|
|
|
389
408
|
)
|
|
390
409
|
bounds = array_bounds(vrt_height, vrt_width, vrt_transform)
|
|
391
410
|
|
|
392
|
-
if max_size
|
|
411
|
+
if max_size:
|
|
393
412
|
height, width = _get_width_height(max_size, vrt_height, vrt_width)
|
|
394
413
|
|
|
414
|
+
elif _missing_size(width, height):
|
|
415
|
+
ratio = vrt_height / vrt_width
|
|
416
|
+
if width:
|
|
417
|
+
height = math.ceil(width * ratio)
|
|
418
|
+
else:
|
|
419
|
+
width = math.ceil(height / ratio)
|
|
420
|
+
|
|
395
421
|
height = height or vrt_height
|
|
396
422
|
width = width or vrt_width
|
|
397
423
|
|
|
@@ -449,11 +475,18 @@ def part(
|
|
|
449
475
|
window = _round_window(window)
|
|
450
476
|
bounds = windows.bounds(window, src_dst.transform)
|
|
451
477
|
|
|
452
|
-
if max_size
|
|
478
|
+
if max_size:
|
|
453
479
|
height, width = _get_width_height(
|
|
454
480
|
max_size, round(window.height), round(window.width)
|
|
455
481
|
)
|
|
456
482
|
|
|
483
|
+
elif _missing_size(width, height):
|
|
484
|
+
ratio = window.height / window.width
|
|
485
|
+
if width:
|
|
486
|
+
height = math.ceil(width * ratio)
|
|
487
|
+
else:
|
|
488
|
+
width = math.ceil(height / ratio)
|
|
489
|
+
|
|
457
490
|
height = height or max(1, round(window.height))
|
|
458
491
|
width = width or max(1, round(window.width))
|
|
459
492
|
|
|
@@ -417,7 +417,17 @@ def get_vrt_transform(
|
|
|
417
417
|
# NOTE: When we have desired output height/width, we can use them to
|
|
418
418
|
# calculate the output size/transform. The VRT resolution will be aligned with the desired
|
|
419
419
|
# output resolution (if not bigger)
|
|
420
|
-
if height
|
|
420
|
+
if height or width:
|
|
421
|
+
if not height or not width:
|
|
422
|
+
# get the size's ratio of the reprojected dataset
|
|
423
|
+
_w = max(1, round((e - w) / w_res))
|
|
424
|
+
_h = max(1, round((s - n) / h_res))
|
|
425
|
+
ratio = _h / _w
|
|
426
|
+
if width:
|
|
427
|
+
height = math.ceil(width * ratio)
|
|
428
|
+
else:
|
|
429
|
+
width = math.ceil(height / ratio)
|
|
430
|
+
|
|
421
431
|
output_transform = from_bounds(w, s, e, n, width, height)
|
|
422
432
|
|
|
423
433
|
# NOTE: Here we check if the Output Resolution is higher thant the dataset resolution (OverZoom)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|