rio-tiler 6.4.6__tar.gz → 6.5.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-6.4.6 → rio_tiler-6.5.0}/PKG-INFO +1 -1
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/__init__.py +1 -1
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/io/base.py +12 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/io/xarray.py +1 -1
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/reader.py +12 -1
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/utils.py +44 -23
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/.gitignore +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/AUTHORS.txt +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/LICENSE +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/README.md +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/pyproject.toml +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/__init__.py +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/accent.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/accent_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/afmhot.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/afmhot_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/algae.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/algae_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/amp.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/amp_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/autumn.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/autumn_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/balance.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/balance_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/binary.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/binary_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/blues.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/blues_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/bone.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/bone_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/brbg.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/brbg_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/brg.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/brg_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/bugn.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/bugn_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/bupu.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/bupu_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/bwr.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/bwr_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/cfastie.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/cividis.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/cividis_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/cmrmap.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/cmrmap_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/cool.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/cool_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/coolwarm.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/coolwarm_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/copper.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/copper_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/cubehelix.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/cubehelix_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/curl.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/curl_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/dark2.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/dark2_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/deep.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/deep_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/delta.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/delta_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/dense.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/dense_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/diff.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/diff_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/flag.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/flag_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gist_earth.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gist_earth_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gist_gray.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gist_gray_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gist_heat.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gist_heat_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gist_ncar.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gist_ncar_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gist_rainbow.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gist_rainbow_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gist_stern.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gist_stern_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gist_yarg.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gist_yarg_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gnbu.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gnbu_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gnuplot.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gnuplot2.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gnuplot2_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gnuplot_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gray.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/gray_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/greens.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/greens_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/greys.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/greys_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/haline.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/haline_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/hot.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/hot_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/hsv.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/hsv_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/ice.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/ice_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/inferno.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/inferno_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/jet.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/jet_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/magma.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/magma_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/matter.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/matter_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/nipy_spectral.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/nipy_spectral_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/ocean.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/ocean_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/oranges.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/oranges_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/orrd.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/orrd_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/oxy.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/oxy_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/paired.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/paired_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/pastel1.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/pastel1_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/pastel2.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/pastel2_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/phase.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/phase_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/pink.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/pink_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/piyg.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/piyg_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/plasma.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/plasma_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/prgn.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/prgn_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/prism.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/prism_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/pubu.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/pubu_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/pubugn.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/pubugn_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/puor.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/puor_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/purd.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/purd_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/purples.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/purples_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/rain.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/rain_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/rainbow.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/rainbow_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/rdbu.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/rdbu_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/rdgy.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/rdgy_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/rdpu.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/rdpu_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/rdylbu.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/rdylbu_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/rdylgn.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/rdylgn_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/reds.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/reds_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/rplumbo.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/schwarzwald.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/seismic.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/seismic_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/set1.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/set1_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/set2.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/set2_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/set3.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/set3_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/solar.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/solar_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/spectral.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/spectral_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/speed.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/speed_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/spring.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/spring_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/summer.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/summer_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/tab10.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/tab10_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/tab20.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/tab20_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/tab20b.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/tab20b_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/tab20c.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/tab20c_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/tarn.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/tarn_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/tempo.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/tempo_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/terrain.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/terrain_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/thermal.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/thermal_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/topo.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/topo_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/turbid.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/turbid_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/turbo.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/turbo_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/twilight.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/twilight_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/twilight_shifted.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/twilight_shifted_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/viridis.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/viridis_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/winter.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/winter_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/wistia.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/wistia_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/ylgn.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/ylgn_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/ylgnbu.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/ylgnbu_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/ylorbr.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/ylorbr_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/ylorrd.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/cmap_data/ylorrd_r.npy +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/colormap.py +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/constants.py +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/errors.py +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/expression.py +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/io/__init__.py +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/io/rasterio.py +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/io/stac.py +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/logger.py +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/models.py +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/mosaic/__init__.py +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/mosaic/methods/__init__.py +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/mosaic/methods/base.py +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/mosaic/methods/defaults.py +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/mosaic/reader.py +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/profiles.py +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/py.typed +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/tasks.py +0 -0
- {rio_tiler-6.4.6 → rio_tiler-6.5.0}/rio_tiler/types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: rio-tiler
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.5.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/
|
|
@@ -48,6 +48,18 @@ class SpatialMixin:
|
|
|
48
48
|
def geographic_bounds(self) -> BBox:
|
|
49
49
|
"""Return dataset bounds in geographic_crs."""
|
|
50
50
|
if self.crs == self.geographic_crs:
|
|
51
|
+
if self.bounds[1] > self.bounds[3]:
|
|
52
|
+
warnings.warn(
|
|
53
|
+
"BoundingBox of the dataset is inverted (minLat > maxLat).",
|
|
54
|
+
UserWarning,
|
|
55
|
+
)
|
|
56
|
+
return (
|
|
57
|
+
self.bounds[0],
|
|
58
|
+
self.bounds[3],
|
|
59
|
+
self.bounds[2],
|
|
60
|
+
self.bounds[1],
|
|
61
|
+
)
|
|
62
|
+
|
|
51
63
|
return self.bounds
|
|
52
64
|
|
|
53
65
|
try:
|
|
@@ -401,7 +401,7 @@ class XarrayReader(BaseReader):
|
|
|
401
401
|
|
|
402
402
|
y, x = rowcol(ds.rio.transform(), ds_lon, ds_lat)
|
|
403
403
|
|
|
404
|
-
arr = ds[:, y[0], x[0]].to_masked_array()
|
|
404
|
+
arr = ds[:, int(y[0]), int(x[0])].to_masked_array()
|
|
405
405
|
arr.mask |= arr.data == ds.rio.nodata
|
|
406
406
|
|
|
407
407
|
return PointData(
|
|
@@ -142,11 +142,17 @@ def read(
|
|
|
142
142
|
"crs": dst_crs,
|
|
143
143
|
"add_alpha": True,
|
|
144
144
|
"resampling": warp_resampling,
|
|
145
|
+
"dtype": src_dst.dtypes[0],
|
|
145
146
|
}
|
|
146
147
|
|
|
147
148
|
if nodata is not None:
|
|
148
149
|
vrt_params.update(
|
|
149
|
-
{
|
|
150
|
+
{
|
|
151
|
+
"nodata": nodata,
|
|
152
|
+
"add_alpha": False,
|
|
153
|
+
"src_nodata": nodata,
|
|
154
|
+
"dtype": src_dst.dtypes[0],
|
|
155
|
+
}
|
|
150
156
|
)
|
|
151
157
|
|
|
152
158
|
if has_alpha_band(src_dst):
|
|
@@ -360,6 +366,8 @@ def part(
|
|
|
360
366
|
vrt_transform, vrt_width, vrt_height = get_vrt_transform(
|
|
361
367
|
src_dst,
|
|
362
368
|
bounds,
|
|
369
|
+
height,
|
|
370
|
+
width,
|
|
363
371
|
dst_crs=dst_crs,
|
|
364
372
|
align_bounds_with_dataset=align_bounds_with_dataset,
|
|
365
373
|
)
|
|
@@ -378,6 +386,8 @@ def part(
|
|
|
378
386
|
vrt_transform, vrt_width, vrt_height = get_vrt_transform(
|
|
379
387
|
src_dst,
|
|
380
388
|
bounds,
|
|
389
|
+
height,
|
|
390
|
+
width,
|
|
381
391
|
dst_crs=dst_crs,
|
|
382
392
|
align_bounds_with_dataset=align_bounds_with_dataset,
|
|
383
393
|
)
|
|
@@ -396,6 +406,7 @@ def part(
|
|
|
396
406
|
"transform": vrt_transform,
|
|
397
407
|
"width": vrt_width,
|
|
398
408
|
"height": vrt_height,
|
|
409
|
+
"dtype": src_dst.dtypes[0],
|
|
399
410
|
}
|
|
400
411
|
if vrt_options:
|
|
401
412
|
vrt_params.update(**vrt_options)
|
|
@@ -296,8 +296,8 @@ def get_vrt_transform(
|
|
|
296
296
|
Args:
|
|
297
297
|
src_dst (rasterio.io.DatasetReader or rasterio.io.DatasetWriter or rasterio.vrt.WarpedVRT): Rasterio dataset.
|
|
298
298
|
bounds (tuple): Bounding box coordinates in target crs (**dst_crs**).
|
|
299
|
-
height (int, optional):
|
|
300
|
-
width (int, optional):
|
|
299
|
+
height (int, optional): Output height of the array for the input bounds.
|
|
300
|
+
width (int, optional): Output width of the array for the input bounds.
|
|
301
301
|
dst_crs (rasterio.crs.CRS, optional): Target Coordinate Reference System. Defaults to `epsg:3857`.
|
|
302
302
|
align_bounds_with_dataset (bool): Align input bounds with dataset transform. Defaults to `False`.
|
|
303
303
|
|
|
@@ -334,6 +334,23 @@ def get_vrt_transform(
|
|
|
334
334
|
src_height = round(w.height)
|
|
335
335
|
src_width = round(w.width)
|
|
336
336
|
|
|
337
|
+
# Specific FIX when bounds and transform are inverted
|
|
338
|
+
# See: https://github.com/US-GHG-Center/veda-config-ghg/pull/333
|
|
339
|
+
elif (
|
|
340
|
+
src_dst.crs == WGS84_CRS
|
|
341
|
+
and dst_crs == WEB_MERCATOR_CRS
|
|
342
|
+
and (src_bounds[1] > 85.06 or src_bounds[3] < -85.06)
|
|
343
|
+
):
|
|
344
|
+
warnings.warn(
|
|
345
|
+
"Adjusting dataset latitudes to avoid re-projection overflow",
|
|
346
|
+
UserWarning,
|
|
347
|
+
)
|
|
348
|
+
src_bounds[1] = min(src_bounds[1], 85.06)
|
|
349
|
+
src_bounds[3] = max(src_bounds[3], -85.06)
|
|
350
|
+
w = windows.from_bounds(*src_bounds, transform=src_dst.transform)
|
|
351
|
+
src_height = round(w.height)
|
|
352
|
+
src_width = round(w.width)
|
|
353
|
+
|
|
337
354
|
dst_transform, _, _ = calculate_default_transform(
|
|
338
355
|
src_dst.crs, dst_crs, src_width, src_height, *src_bounds
|
|
339
356
|
)
|
|
@@ -367,31 +384,35 @@ def get_vrt_transform(
|
|
|
367
384
|
|
|
368
385
|
w, s, e, n = bounds
|
|
369
386
|
|
|
370
|
-
#
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
#
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
387
|
+
# When no output size (resolution) - Use Dataset Resolution
|
|
388
|
+
# NOTE: When we don't `fix` the output width/height, we're using the reprojected dataset resolution
|
|
389
|
+
# to calculate what is the size/transform of the VRT
|
|
390
|
+
w_res = dst_transform.a
|
|
391
|
+
h_res = dst_transform.e
|
|
392
|
+
|
|
393
|
+
# NOTE: When we have desired output height/width, we can use them to
|
|
394
|
+
# calculate the output size/transform. The VRT resolution will be aligned with the desired
|
|
395
|
+
# output resolution (if not bigger)
|
|
396
|
+
if height and width:
|
|
397
|
+
output_transform = from_bounds(w, s, e, n, width, height)
|
|
398
|
+
|
|
399
|
+
# NOTE: Here we check if the Output Resolution is higher thant the dataset resolution (OverZoom)
|
|
400
|
+
# When not overzooming we don't want to use the output Width/Height to calculate the transform
|
|
401
|
+
# See issues https://github.com/cogeotiff/rio-tiler/pull/648
|
|
402
|
+
w_res = (
|
|
403
|
+
output_transform.a
|
|
404
|
+
if abs(output_transform.a) < abs(dst_transform.a)
|
|
405
|
+
else dst_transform.a
|
|
406
|
+
)
|
|
407
|
+
h_res = (
|
|
408
|
+
output_transform.e
|
|
409
|
+
if abs(output_transform.e) < abs(dst_transform.e)
|
|
410
|
+
else dst_transform.e
|
|
411
|
+
)
|
|
389
412
|
|
|
390
|
-
# TODO: Explain
|
|
391
413
|
vrt_width = max(1, round((e - w) / w_res))
|
|
392
414
|
vrt_height = max(1, round((s - n) / h_res))
|
|
393
415
|
vrt_transform = from_bounds(w, s, e, n, vrt_width, vrt_height)
|
|
394
|
-
|
|
395
416
|
return vrt_transform, vrt_width, vrt_height
|
|
396
417
|
|
|
397
418
|
|
|
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
|