Aligning Data with Different Resolutions
This example demonstrates how to align data from different sources (EMIT, HLS, SHIFT) for analysis. Using rioxarray we can reproject the different data sources to the same CRS and shape or resolution.
This example uses code from the EMIT-Data-Resources repository.
[2]:
import requests
import s3fs
import sys
import rasterio as rio
import xarray as xr
sys.path.append('/efs/edlang1/EMIT-Data-Resources/modules/')
from emit_tools import emit_xarray
sys.path.append('/efs/SHIFT-Python-Utilities/')
from shift_python_utilities.intake_shift import shift_catalog
import geopandas as gpd
from shapely.geometry import Polygon
import warnings
warnings.filterwarnings('ignore')
Generate temporary credentials for Earth Data Search S3 access
[3]:
s3_cred_endpoint = {
'podaac':'https://archive.podaac.earthdata.nasa.gov/s3credentials',
'gesdisc': 'https://data.gesdisc.earthdata.nasa.gov/s3credentials',
'lpdaac':'https://data.lpdaac.earthdatacloud.nasa.gov/s3credentials',
'ornldaac': 'https://data.ornldaac.earthdata.nasa.gov/s3credentials',
'ghrcdaac': 'https://data.ghrc.earthdata.nasa.gov/s3credentials'
}
def get_temp_creds(provider):
return requests.get(s3_cred_endpoint[provider]).json()
temp_creds_req = get_temp_creds('lpdaac')
fs_s3 = s3fs.S3FileSystem(anon=False,
key=temp_creds_req['accessKeyId'],
secret=temp_creds_req['secretAccessKey'],
token=temp_creds_req['sessionToken'])
Create a Geodataframe with a polygon
[4]:
shp = Polygon([(-120.44686132950059, 34.44238828271541),
(-120.44686132950059, 34.48046721892582),
(-120.41425043549059, 34.48046721892582),
(-120.41425043549059, 34.44238828271541)])
geodf = gpd.GeoDataFrame(geometry=[shp], crs=4326)
geodf
[4]:
| geometry | |
|---|---|
| 0 | POLYGON ((-120.44686 34.44239, -120.44686 34.4... |
Using Earth Data Search find the S3 link associated with the imagery of interest
Retrieve orthorectified the data using fsspec and the emit_xarray module and reorder the dimensions to (band, y, x)
Note: If you are getting an error related to not being able to identify the file type you may need to update the version of xarray you are using. The EMIT documentation recommends xarray 2022.12.0 or newer. In python running
xr.__version__will give you your xarray versionrunning
pip install xarray==2022.12.0will install the minimum required versionAnother work around is to rerun the cell and see if it works the second time. This has been reported to work.
Clip the orthorectified data using the Geodataframe
[6]:
s3_url = "s3://lp-prod-protected/EMITL2ARFL.001/EMIT_L2A_RFL_001_20230422T195924_2311213_002/EMIT_L2A_RFL_001_20230422T195924_2311213_002.nc"
# Open s3 url
fp = fs_s3.open(s3_url, mode='rb')
# Open dataset with xarray
ds_emit = emit_xarray(fp, ortho=True).swap_dims({"bands":"wavelengths"}).transpose("wavelengths","latitude","longitude")
ds_emit = ds_emit.rio.clip(geodf.to_crs(ds_emit.rio.crs).geometry.values, all_touched=True)
ds_emit
[6]:
<xarray.Dataset>
Dimensions: (latitude: 71, longitude: 61, wavelengths: 285)
Coordinates:
* latitude (latitude) float64 34.48 34.48 34.48 ... 34.44 34.44 34.44
* longitude (longitude) float64 -120.4 -120.4 -120.4 ... -120.4 -120.4
fwhm (wavelengths) float32 8.415 8.415 8.415 ... 8.807 8.809
good_wavelengths (wavelengths) float32 1.0 1.0 1.0 1.0 ... 1.0 1.0 1.0 1.0
* wavelengths (wavelengths) float32 381.0 388.4 ... 2.486e+03 2.493e+03
spatial_ref int64 0
Data variables:
reflectance (wavelengths, latitude, longitude) float32 0.0259 ... 0...
Attributes: (12/38)
ncei_template_version: NCEI_NetCDF_Swath_Template_v2.0
summary: The Earth Surface Mineral Dust Source ...
keywords: Imaging Spectroscopy, minerals, EMIT, ...
Conventions: CF-1.63
sensor: EMIT (Earth Surface Mineral Dust Sourc...
instrument: EMIT
... ...
southernmost_latitude: 33.98409945295017
spatialResolution: 0.000542232520256367
spatial_ref: GEOGCS["WGS 84",DATUM["WGS_1984",SPHER...
geotransform: [-1.20995667e+02 5.42232520e-04 -0.00...
day_night_flag: Day
title: EMIT L2A Estimated Surface Reflectance...- latitude: 71
- longitude: 61
- wavelengths: 285
- latitude(latitude)float6434.48 34.48 34.48 ... 34.44 34.44
- long_name :
- latitude
- units :
- degrees_north
- axis :
- Y
- standard_name :
- latitude
array([34.480242, 34.4797 , 34.479158, 34.478616, 34.478073, 34.477531, 34.476989, 34.476447, 34.475904, 34.475362, 34.47482 , 34.474278, 34.473735, 34.473193, 34.472651, 34.472109, 34.471566, 34.471024, 34.470482, 34.46994 , 34.469398, 34.468855, 34.468313, 34.467771, 34.467229, 34.466686, 34.466144, 34.465602, 34.46506 , 34.464517, 34.463975, 34.463433, 34.462891, 34.462349, 34.461806, 34.461264, 34.460722, 34.46018 , 34.459637, 34.459095, 34.458553, 34.458011, 34.457468, 34.456926, 34.456384, 34.455842, 34.4553 , 34.454757, 34.454215, 34.453673, 34.453131, 34.452588, 34.452046, 34.451504, 34.450962, 34.450419, 34.449877, 34.449335, 34.448793, 34.44825 , 34.447708, 34.447166, 34.446624, 34.446082, 34.445539, 34.444997, 34.444455, 34.443913, 34.44337 , 34.442828, 34.442286]) - longitude(longitude)float64-120.4 -120.4 ... -120.4 -120.4
- long_name :
- longitude
- units :
- degrees_east
- axis :
- X
- standard_name :
- longitude
array([-120.446928, -120.446386, -120.445844, -120.445301, -120.444759, -120.444217, -120.443675, -120.443133, -120.44259 , -120.442048, -120.441506, -120.440964, -120.440421, -120.439879, -120.439337, -120.438795, -120.438252, -120.43771 , -120.437168, -120.436626, -120.436084, -120.435541, -120.434999, -120.434457, -120.433915, -120.433372, -120.43283 , -120.432288, -120.431746, -120.431203, -120.430661, -120.430119, -120.429577, -120.429034, -120.428492, -120.42795 , -120.427408, -120.426866, -120.426323, -120.425781, -120.425239, -120.424697, -120.424154, -120.423612, -120.42307 , -120.422528, -120.421985, -120.421443, -120.420901, -120.420359, -120.419817, -120.419274, -120.418732, -120.41819 , -120.417648, -120.417105, -120.416563, -120.416021, -120.415479, -120.414936, -120.414394]) - fwhm(wavelengths)float328.415 8.415 8.415 ... 8.807 8.809
- long_name :
- Full Width at Half Max
- units :
- nm
array([8.415, 8.415, 8.415, 8.415, 8.417, 8.418, 8.419, 8.421, 8.422, 8.424, 8.425, 8.426, 8.428, 8.429, 8.431, 8.432, 8.433, 8.435, 8.436, 8.438, 8.439, 8.44 , 8.442, 8.443, 8.445, 8.446, 8.447, 8.449, 8.45 , 8.452, 8.453, 8.454, 8.456, 8.457, 8.459, 8.46 , 8.461, 8.463, 8.464, 8.466, 8.467, 8.468, 8.47 , 8.471, 8.473, 8.474, 8.475, 8.477, 8.478, 8.48 , 8.481, 8.482, 8.484, 8.485, 8.487, 8.488, 8.489, 8.491, 8.492, 8.494, 8.495, 8.496, 8.498, 8.499, 8.501, 8.502, 8.503, 8.505, 8.506, 8.508, 8.509, 8.51 , 8.512, 8.513, 8.515, 8.516, 8.517, 8.519, 8.52 , 8.522, 8.523, 8.524, 8.526, 8.527, 8.529, 8.53 , 8.531, 8.533, 8.534, 8.536, 8.537, 8.538, 8.54 , 8.541, 8.543, 8.544, 8.545, 8.547, 8.548, 8.55 , 8.551, 8.552, 8.554, 8.555, 8.557, 8.558, 8.559, 8.561, 8.562, 8.564, 8.565, 8.566, 8.568, 8.569, 8.571, 8.572, 8.573, 8.575, 8.576, 8.578, 8.579, 8.58 , 8.582, 8.583, 8.585, 8.586, 8.587, 8.589, 8.59 , 8.592, 8.593, 8.594, 8.596, 8.597, 8.599, 8.6 , 8.601, 8.603, 8.604, 8.606, 8.607, 8.608, 8.61 , 8.611, 8.613, 8.614, 8.615, 8.617, 8.618, 8.62 , 8.621, 8.622, 8.624, 8.625, 8.627, 8.628, 8.629, 8.631, 8.632, 8.634, 8.635, 8.636, 8.638, 8.639, 8.641, 8.642, 8.643, 8.645, 8.646, 8.648, 8.649, 8.65 , 8.652, 8.653, 8.655, 8.656, 8.657, 8.659, 8.66 , 8.662, 8.663, 8.664, 8.666, 8.667, 8.669, 8.67 , 8.671, 8.673, 8.674, 8.676, 8.677, 8.678, 8.68 , 8.681, 8.683, 8.684, 8.685, 8.687, 8.688, 8.69 , 8.691, 8.692, 8.694, 8.695, 8.697, 8.698, 8.699, 8.701, 8.702, 8.704, 8.705, 8.706, 8.708, 8.709, 8.711, 8.712, 8.714, 8.715, 8.716, 8.718, 8.719, 8.721, 8.722, 8.723, 8.725, 8.726, 8.727, 8.729, 8.73 , 8.732, 8.733, 8.734, 8.736, 8.737, 8.739, 8.74 , 8.741, 8.743, 8.744, 8.746, 8.747, 8.748, 8.75 , 8.751, 8.753, 8.754, 8.755, 8.757, 8.758, 8.76 , 8.761, 8.763, 8.764, 8.765, 8.767, 8.768, 8.77 , 8.771, 8.772, 8.774, 8.775, 8.777, 8.778, 8.779, 8.781, 8.782, 8.783, 8.785, 8.786, 8.788, 8.789, 8.79 , 8.792, 8.793, 8.795, 8.796, 8.797, 8.799, 8.8 , 8.802, 8.803, 8.804, 8.806, 8.807, 8.809], dtype=float32) - good_wavelengths(wavelengths)float321.0 1.0 1.0 1.0 ... 1.0 1.0 1.0 1.0
- long_name :
- Wavelengths where reflectance is useable: 1 = good data, 0 = bad data
- units :
- unitless
array([1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.], dtype=float32) - wavelengths(wavelengths)float32381.0 388.4 ... 2.486e+03 2.493e+03
- long_name :
- Wavelength Centers
- units :
- nm
array([ 381.00558, 388.4092 , 395.81583, ..., 2478.153 , 2485.5386 , 2492.9238 ], dtype=float32) - spatial_ref()int640
- crs_wkt :
- GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
- semi_major_axis :
- 6378137.0
- semi_minor_axis :
- 6356752.314245179
- inverse_flattening :
- 298.257223563
- reference_ellipsoid_name :
- WGS 84
- longitude_of_prime_meridian :
- 0.0
- prime_meridian_name :
- Greenwich
- geographic_crs_name :
- WGS 84
- grid_mapping_name :
- latitude_longitude
- spatial_ref :
- GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
- GeoTransform :
- -120.44719927584768 0.00054223252025641 0.0 34.48051332524488 0.0 -0.000542232520256444
array(0)
- reflectance(wavelengths, latitude, longitude)float320.0259 0.02661 ... 0.01337 0.01214
- long_name :
- Surface Reflectance
- units :
- unitless
array([[[0.02590204, 0.02660677, 0.02842909, ..., 0.01963831, 0.01917139, 0.0230816 ], [0.02559636, 0.02559636, 0.02945991, ..., 0.02198856, 0.01917139, 0.02063838], [0.02512746, 0.02578526, 0.02354993, ..., 0.02065424, 0.01997524, 0.02037972], ..., [0.08705922, 0.0866261 , 0.08570784, ..., 0.07824735, 0.07824735, 0.0774859 ], [0.08580987, 0.0866261 , 0.08702188, ..., 0.07720286, 0.0774859 , 0.0774859 ], [0.08680535, 0.08706994, 0.08724175, ..., 0.07782897, 0.0792058 , 0.07936651]], [[0.02763739, 0.02867741, 0.03043226, ..., 0.02065652, 0.02015542, 0.02449759], [0.0275698 , 0.0275698 , 0.03150224, ..., 0.0230745 , 0.02015542, 0.02181723], [0.02684259, 0.02731819, 0.02450856, ..., 0.02155663, 0.02086448, 0.02143055], ... [0.02963006, 0.02485388, 0.02665506, ..., 0.02034139, 0.02034139, 0.01929908], [0.02787514, 0.02485388, 0.02748453, ..., 0.01991742, 0.01929908, 0.01929908], [0.02495702, 0.02506847, 0.02284018, ..., 0.01908812, 0.01853432, 0.01855106]], [[0.06697547, 0.07136727, 0.07061153, ..., 0.05333418, 0.05150436, 0.06406372], [0.07026525, 0.07026525, 0.07376812, ..., 0.05774046, 0.05150436, 0.05607718], [0.06746293, 0.06615095, 0.05341054, ..., 0.04947818, 0.04915674, 0.05187134], ..., [0.02218031, 0.0242199 , 0.0194819 , ..., 0.01409106, 0.01409106, 0.01236719], [0.01560492, 0.0242199 , 0.02037944, ..., 0.01241782, 0.01236719, 0.01236719], [0.01751064, 0.01724087, 0.01626463, ..., 0.01541738, 0.01337022, 0.01214166]]], dtype=float32)
- ncei_template_version :
- NCEI_NetCDF_Swath_Template_v2.0
- summary :
- The Earth Surface Mineral Dust Source Investigation (EMIT) is an Earth Ventures-Instrument (EVI-4) Mission that maps the surface mineralogy of arid dust source regions via imaging spectroscopy in the visible and short-wave infrared (VSWIR). Installed on the International Space Station (ISS), the EMIT instrument is a Dyson imaging spectrometer that uses contiguous spectroscopic measurements from 410 to 2450 nm to resolve absoprtion features of iron oxides, clays, sulfates, carbonates, and other dust-forming minerals. During its one-year mission, EMIT will observe the sunlit Earth's dust source regions that occur within +/-52° latitude and produce maps of the source regions that can be used to improve forecasts of the role of mineral dust in the radiative forcing (warming or cooling) of the atmosphere.\n\nThis file contains L2A estimated surface reflectances and geolocation data. Reflectance estimates are created using an Optimal Estimation technique - see ATBD for details. Reflectance values are reported as fractions (relative to 1). Geolocation data (latitude, longitude, height) and a lookup table to project the data are also included.
- keywords :
- Imaging Spectroscopy, minerals, EMIT, dust, radiative forcing
- Conventions :
- CF-1.63
- sensor :
- EMIT (Earth Surface Mineral Dust Source Investigation)
- instrument :
- EMIT
- platform :
- ISS
- institution :
- NASA Jet Propulsion Laboratory/California Institute of Technology
- license :
- https://science.nasa.gov/earth-science/earth-science-data/data-information-policy/
- naming_authority :
- LPDAAC
- date_created :
- 2023-04-26T00:02:06Z
- keywords_vocabulary :
- NASA Global Change Master Directory (GCMD) Science Keywords
- stdname_vocabulary :
- NetCDF Climate and Forecast (CF) Metadata Convention
- creator_name :
- Jet Propulsion Laboratory/California Institute of Technology
- creator_url :
- https://earth.jpl.nasa.gov/emit/
- project :
- Earth Surface Mineral Dust Source Investigation
- project_url :
- https://emit.jpl.nasa.gov/
- publisher_name :
- NASA LPDAAC
- publisher_url :
- https://lpdaac.usgs.gov
- publisher_email :
- lpdaac@usgs.gov
- identifier_product_doi_authority :
- https://doi.org
- flight_line :
- emit20230422t195924_o11213_s000
- time_coverage_start :
- 2023-04-22T19:59:24+0000
- time_coverage_end :
- 2023-04-22T19:59:36+0000
- software_build_version :
- 010610
- software_delivery_version :
- 010610
- product_version :
- V001
- history :
- PGE Run Command: {python /beegfs/store/emit/ops/repos/emit-sds-l2a/spectrum_quality.py /tmp/emit/ops/emit20230422t195924_emit.L2AReflectance_20230425t145035/output/emit20230422t195924_rfl /tmp/emit/ops/emit20230422t195924_emit.L2AReflectance_20230425t145035/output/emit20230422t195924_rfl_quality.txt}, PGE Input Files: {radiance_file=/beegfs/store/emit/ops/data/acquisitions/20230422/emit20230422t195924/l1b/emit20230422t195924_o11213_s000_l1b_rdn_b0106_v01.img, pixel_locations_file=/beegfs/store/emit/ops/data/acquisitions/20230422/emit20230422t195924/l1b/emit20230422t195924_o11213_s000_l1b_loc_b0106_v01.img, observation_parameters_file=/beegfs/store/emit/ops/data/acquisitions/20230422/emit20230422t195924/l1b/emit20230422t195924_o11213_s000_l1b_obs_b0106_v01.img, surface_model_config=/beegfs/store/emit/ops/repos/emit-sds-l2a/surface/surface_20221020.json}
- crosstrack_orientation :
- as seen on ground
- easternmost_longitude :
- -119.80112922796222
- northernmost_latitude :
- 35.0810358414288
- westernmost_longitude :
- -120.995667470087
- southernmost_latitude :
- 33.98409945295017
- spatialResolution :
- 0.000542232520256367
- spatial_ref :
- GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
- geotransform :
- [-1.20995667e+02 5.42232520e-04 -0.00000000e+00 3.50810358e+01 -0.00000000e+00 -5.42232520e-04]
- day_night_flag :
- Day
- title :
- EMIT L2A Estimated Surface Reflectance 60 m V001
Retrieve the HLS bands of interest and concatenate them into one Xaray Dataset
Clip the data with the Geodataframe
[7]:
s3_urls = [
"s3://lp-prod-protected/HLSS30.020/HLS.S30.T10SGD.2023121T183919.v2.0/HLS.S30.T10SGD.2023121T183919.v2.0.B04.tif",
"s3://lp-prod-protected/HLSS30.020/HLS.S30.T10SGD.2023121T183919.v2.0/HLS.S30.T10SGD.2023121T183919.v2.0.B03.tif",
"s3://lp-prod-protected/HLSS30.020/HLS.S30.T10SGD.2023121T183919.v2.0/HLS.S30.T10SGD.2023121T183919.v2.0.B02.tif",
]
ds_hls = []
for url in s3_urls:
fp = fs_s3.open(url, mode='rb')
ds_hls += [xr.open_dataset(fp, engine='rasterio')]
ds_hls = xr.concat(ds_hls, 'band')
ds_hls = ds_hls.rio.clip(geodf.to_crs(ds_hls.rio.crs).geometry.values, all_touched=True)
ds_hls
[7]:
<xarray.Dataset>
Dimensions: (y: 145, x: 104, band: 3)
Coordinates:
* y (y) float64 3.818e+06 3.818e+06 ... 3.814e+06 3.814e+06
* x (x) float64 7.345e+05 7.345e+05 ... 7.375e+05 7.376e+05
* band (band) int64 1 1 1
spatial_ref int64 0
Data variables:
band_data (band, y, x) float32 nan nan nan nan nan ... nan nan nan nan- y: 145
- x: 104
- band: 3
- y(y)float643.818e+06 3.818e+06 ... 3.814e+06
- axis :
- Y
- long_name :
- y coordinate of projection
- standard_name :
- projection_y_coordinate
- units :
- metre
array([3818475., 3818445., 3818415., 3818385., 3818355., 3818325., 3818295., 3818265., 3818235., 3818205., 3818175., 3818145., 3818115., 3818085., 3818055., 3818025., 3817995., 3817965., 3817935., 3817905., 3817875., 3817845., 3817815., 3817785., 3817755., 3817725., 3817695., 3817665., 3817635., 3817605., 3817575., 3817545., 3817515., 3817485., 3817455., 3817425., 3817395., 3817365., 3817335., 3817305., 3817275., 3817245., 3817215., 3817185., 3817155., 3817125., 3817095., 3817065., 3817035., 3817005., 3816975., 3816945., 3816915., 3816885., 3816855., 3816825., 3816795., 3816765., 3816735., 3816705., 3816675., 3816645., 3816615., 3816585., 3816555., 3816525., 3816495., 3816465., 3816435., 3816405., 3816375., 3816345., 3816315., 3816285., 3816255., 3816225., 3816195., 3816165., 3816135., 3816105., 3816075., 3816045., 3816015., 3815985., 3815955., 3815925., 3815895., 3815865., 3815835., 3815805., 3815775., 3815745., 3815715., 3815685., 3815655., 3815625., 3815595., 3815565., 3815535., 3815505., 3815475., 3815445., 3815415., 3815385., 3815355., 3815325., 3815295., 3815265., 3815235., 3815205., 3815175., 3815145., 3815115., 3815085., 3815055., 3815025., 3814995., 3814965., 3814935., 3814905., 3814875., 3814845., 3814815., 3814785., 3814755., 3814725., 3814695., 3814665., 3814635., 3814605., 3814575., 3814545., 3814515., 3814485., 3814455., 3814425., 3814395., 3814365., 3814335., 3814305., 3814275., 3814245., 3814215., 3814185., 3814155.]) - x(x)float647.345e+05 7.345e+05 ... 7.376e+05
- axis :
- X
- long_name :
- x coordinate of projection
- standard_name :
- projection_x_coordinate
- units :
- metre
array([734475., 734505., 734535., 734565., 734595., 734625., 734655., 734685., 734715., 734745., 734775., 734805., 734835., 734865., 734895., 734925., 734955., 734985., 735015., 735045., 735075., 735105., 735135., 735165., 735195., 735225., 735255., 735285., 735315., 735345., 735375., 735405., 735435., 735465., 735495., 735525., 735555., 735585., 735615., 735645., 735675., 735705., 735735., 735765., 735795., 735825., 735855., 735885., 735915., 735945., 735975., 736005., 736035., 736065., 736095., 736125., 736155., 736185., 736215., 736245., 736275., 736305., 736335., 736365., 736395., 736425., 736455., 736485., 736515., 736545., 736575., 736605., 736635., 736665., 736695., 736725., 736755., 736785., 736815., 736845., 736875., 736905., 736935., 736965., 736995., 737025., 737055., 737085., 737115., 737145., 737175., 737205., 737235., 737265., 737295., 737325., 737355., 737385., 737415., 737445., 737475., 737505., 737535., 737565.]) - band(band)int641 1 1
array([1, 1, 1])
- spatial_ref()int640
- crs_wkt :
- PROJCS["WGS 84 / UTM zone 10N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-123],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","32610"]]
- semi_major_axis :
- 6378137.0
- semi_minor_axis :
- 6356752.314245179
- inverse_flattening :
- 298.257223563
- reference_ellipsoid_name :
- WGS 84
- longitude_of_prime_meridian :
- 0.0
- prime_meridian_name :
- Greenwich
- geographic_crs_name :
- WGS 84
- horizontal_datum_name :
- World Geodetic System 1984
- projected_crs_name :
- WGS 84 / UTM zone 10N
- grid_mapping_name :
- transverse_mercator
- latitude_of_projection_origin :
- 0.0
- longitude_of_central_meridian :
- -123.0
- false_easting :
- 500000.0
- false_northing :
- 0.0
- scale_factor_at_central_meridian :
- 0.9996
- spatial_ref :
- PROJCS["WGS 84 / UTM zone 10N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-123],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","32610"]]
- GeoTransform :
- 734460.0 30.0 0.0 3818490.0 0.0 -30.0
array(0)
- band_data(band, y, x)float32nan nan nan nan ... nan nan nan nan
- long_name :
- Red
array([[[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], [[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], [[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]]], dtype=float32)
Using the SHIFT Python Utilites library retireve the gridded data, select a date and reorder the dimensions (band, y, x)
Assign the CRS from the metadata to the dataset
Clip the data with the Geodataframe
[8]:
cat = shift_catalog()
ds_shift = cat.aviris_v1_gridded.read_chunked().sel(time='2022-04-29').transpose('wavelength', 'y', 'x')
ds_shift.rio.write_crs(rio.CRS.from_wkt(",".join(ds_shift.attrs['coordinate system string'])), inplace=True)
ds_shift = ds_shift.rio.clip(geodf.to_crs(ds_shift.rio.crs).geometry.values, all_touched=True)
ds_shift
[8]:
<xarray.Dataset>
Dimensions: (y: 861, x: 622, wavelength: 425)
Coordinates:
* y (y) float64 3.818e+06 3.818e+06 ... 3.814e+06 3.814e+06
* x (x) float64 7.345e+05 7.345e+05 ... 7.376e+05 7.376e+05
time datetime64[ns] 2022-04-29
* wavelength (wavelength) float32 377.2 382.2 387.2 ... 2.496e+03 2.501e+03
spatial_ref int64 0
Data variables:
reflectance (wavelength, y, x) float32 dask.array<chunksize=(425, 1, 622), meta=np.ndarray>
Attributes: (12/13)
description: flight_products/20220224/box_mosaics/box_rfl_p...
samples: 13739
lines: 12023
bands: 425
header offset: 0
file type: ENVI Standard
... ...
interleave: bil
byte order: 0
map info: ['UTM', '1', '1', '717720', '3865865', '5', '5...
coordinate system string: ['PROJCS["WGS_1984_UTM_Zone_10N"', 'GEOGCS["GC...
wavelength: ['377.1956495', '382.20564950000005', '387.215...
fwhm: ['5.57', '5.58', '5.58', '5.58', '5.5900000000...- y: 861
- x: 622
- wavelength: 425
- y(y)float643.818e+06 3.818e+06 ... 3.814e+06
- axis :
- Y
- long_name :
- y coordinate of projection
- standard_name :
- projection_y_coordinate
- units :
- metre
array([3818467.5, 3818462.5, 3818457.5, ..., 3814177.5, 3814172.5, 3814167.5])
- x(x)float647.345e+05 7.345e+05 ... 7.376e+05
- axis :
- X
- long_name :
- x coordinate of projection
- standard_name :
- projection_x_coordinate
- units :
- metre
array([734467.5, 734472.5, 734477.5, ..., 737562.5, 737567.5, 737572.5])
- time()datetime64[ns]2022-04-29
array('2022-04-29T00:00:00.000000000', dtype='datetime64[ns]') - wavelength(wavelength)float32377.2 382.2 ... 2.496e+03 2.501e+03
array([ 377.19565, 382.20566, 387.21564, ..., 2490.8557 , 2495.8657 , 2500.8757 ], dtype=float32) - spatial_ref()int640
- crs_wkt :
- PROJCS["WGS 84 / UTM zone 10N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-123],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH]]
- semi_major_axis :
- 6378137.0
- semi_minor_axis :
- 6356752.314245179
- inverse_flattening :
- 298.257223563
- reference_ellipsoid_name :
- WGS 84
- longitude_of_prime_meridian :
- 0.0
- prime_meridian_name :
- Greenwich
- geographic_crs_name :
- WGS 84
- horizontal_datum_name :
- World Geodetic System 1984
- projected_crs_name :
- WGS 84 / UTM zone 10N
- grid_mapping_name :
- transverse_mercator
- latitude_of_projection_origin :
- 0.0
- longitude_of_central_meridian :
- -123.0
- false_easting :
- 500000.0
- false_northing :
- 0.0
- scale_factor_at_central_meridian :
- 0.9996
- spatial_ref :
- PROJCS["WGS 84 / UTM zone 10N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-123],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH]]
- GeoTransform :
- 734465.0 5.0 0.0 3818470.0 0.0 -5.0
array(0)
- reflectance(wavelength, y, x)float32dask.array<chunksize=(425, 1, 622), meta=np.ndarray>
Array Chunk Bytes 868.25 MiB 1.01 MiB Shape (425, 861, 622) (425, 1, 622) Count 217277 Tasks 861 Chunks Type float32 numpy.ndarray
- description :
- flight_products/20220224/box_mosaics/box_rfl_phase_l2a
- samples :
- 13739
- lines :
- 12023
- bands :
- 425
- header offset :
- 0
- file type :
- ENVI Standard
- data type :
- 4
- interleave :
- bil
- byte order :
- 0
- map info :
- ['UTM', '1', '1', '717720', '3865865', '5', '5', '10', 'North', 'WGS-84']
- coordinate system string :
- ['PROJCS["WGS_1984_UTM_Zone_10N"', 'GEOGCS["GCS_WGS_1984"', 'DATUM["D_WGS_1984"', 'SPHEROID["WGS_1984"', '6378137.0', '298.257223563]]', 'PRIMEM["Greenwich"', '0.0]', 'UNIT["Degree"', '0.0174532925199433]]', 'PROJECTION["Transverse_Mercator"]', 'PARAMETER["False_Easting"', '500000.0]', 'PARAMETER["False_Northing"', '0.0]', 'PARAMETER["Central_Meridian"', '-123.0]', 'PARAMETER["Scale_Factor"', '0.9996]', 'PARAMETER["Latitude_Of_Origin"', '0.0]', 'UNIT["Meter"', '1.0]]']
- wavelength :
- ['377.1956495', '382.20564950000005', '387.2156495', '392.2256495', '397.2256495', '402.2356495', '407.24564949999996', '412.2556495', '417.2656495', '422.27564950000004', '427.2856495', '432.29564949999997', '437.29564949999997', '442.3056495', '447.3156495', '452.3256495', '457.3356495', '462.34564950000004', '467.3556495', '472.35564949999997', '477.36564949999996', '482.3756495', '487.3856495', '492.3956495', '497.4056495', '502.4156495', '507.4256495', '512.4256495000001', '517.4356495', '522.4456495000001', '527.4556495', '532.4656494999999', '537.4756495', '542.4856495', '547.4856495', '552.4956495', '557.5056495', '562.5156495', '567.5256495', '572.5356495', '577.5456495', '582.5556495000001', '587.5556495000001', '592.5656495000001', '597.5756494999999', '602.5856495', '607.5956495', '612.6056494999999', '617.6156495', '622.6156495', '627.6256495', '632.6356495', '637.6456495', '642.6556495', '647.6656495000001', '652.6756495', '657.6856495', '662.6856495', '667.6956495000001', '672.7056495', '677.7156494999999', '682.7256495', '687.7356495', '692.7456494999999', '697.7456494999999', '702.7556495', '707.7656495', '712.7756495000001', '717.7856495', '722.7956495', '727.8056495000001', '732.8156495', '737.8156495', '742.8256494999999', '747.8356495', '752.8456495', '757.8556494999999', '762.8656495', '767.8756495', '772.8756495', '777.8856495', '782.8956495', '787.9056495', '792.9156495000001', '797.9256495', '802.9356495', '807.9456495000001', '812.9456495000001', '817.9556494999999', '822.9656494999999', '827.9756495', '832.9856495', '837.9956495', '843.0056495', '848.0056495', '853.0156495', '858.0256495000001', '863.0356495', '868.0456495', '873.0556495000001', '878.0656495', '883.0756494999999', '888.0756494999999', '893.0856495', '898.0956495', '903.1056495', '908.1156495', '913.1256495', '918.1356495', '923.1456495', '928.1456495', '933.1556495', '938.1656495000001', '943.1756495', '948.1856495', '953.1956495000001', '958.2056494999999', '963.2056494999999', '968.2156495', '973.2256495', '978.2356495', '983.2456495', '988.2556495', '993.2656495', '998.2756495', '1003.2756494999999', '1008.2856495000001', '1013.2956495000001', '1018.3056495000001', '1023.3156495', '1028.3256494999998', '1033.3356494999998', '1038.3356495', '1043.3456495', '1048.3556495', '1053.3656494999998', '1058.3756495', '1063.3856495', '1068.3956495', '1073.4056495', '1078.4056495', '1083.4156495', '1088.4256495', '1093.4356495', '1098.4456495', '1103.4556495000002', '1108.4656495', '1113.4656495', '1118.4756495', '1123.4856495000001', '1128.4956495000001', '1133.5056495', '1138.5156494999999', '1143.5256494999999', '1148.5356495', '1153.5356495', '1158.5456494999999', '1163.5556494999998', '1168.5656495', '1173.5756495', '1178.5856495', '1183.5956495', '1188.5956495', '1193.6056495', '1198.6156495', '1203.6256495', '1208.6356495', '1213.6456495', '1218.6556495', '1223.6656495', '1228.6656495', '1233.6756495000002', '1238.6856495', '1243.6956495', '1248.7056495', '1253.7156495', '1258.7256495000001', '1263.7256495', '1268.7356495', '1273.7456495', '1278.7556495000001', '1283.7656495', '1288.7756495', '1293.7856494999999', '1298.7956494999999', '1303.7956495', '1308.8056495', '1313.8156495', '1318.8256494999998', '1323.8356495', '1328.8456495', '1333.8556495', '1338.8556494999998', '1343.8656495', '1348.8756495', '1353.8856495', '1358.8956495', '1363.9056495', '1368.9156495000002', '1373.9256495', '1378.9256495', '1383.9356495', '1388.9456495000002', '1393.9556495000002', '1398.9656495', '1403.9756495', '1408.9856495', '1413.9856495000001', '1418.9956495', '1424.0056495', '1429.0156494999999', '1434.0256495', '1439.0356495', '1444.0456495', '1449.0556495', '1454.0556495', '1459.0656495', '1464.0756495', '1469.0856495', '1474.0956495', '1479.1056494999998', '1484.1156495', '1489.1156495', '1494.1256495', '1499.1356495', '1504.1456495', '1509.1556495', '1514.1656495', '1519.1756495', '1524.1856495', '1529.1856495', '1534.1956495', '1539.2056495', '1544.2156495', '1549.2256495000001', '1554.2356495000001', '1559.2456495', '1564.2456495', '1569.2556495000001', '1574.2656495', '1579.2756495', '1584.2856494999999', '1589.2956494999999', '1594.3056495', '1599.3156495', '1604.3156494999998', '1609.3256494999998', '1614.3356495', '1619.3456495', '1624.3556495', '1629.3656495', '1634.3756495', '1639.3756495', '1644.3856495', '1649.3956495', '1654.4056495', '1659.4156495000002', '1664.4256495', '1669.4356495', '1674.4456495', '1679.4456495000002', '1684.4556495', '1689.4656495', '1694.4756495', '1699.4856495', '1704.4956495000001', '1709.5056495000001', '1714.5056495', '1719.5156494999999', '1724.5256495', '1729.5356495', '1734.5456495', '1739.5556495', '1744.5656494999998', '1749.5756495', '1754.5756495', '1759.5856495', '1764.5956494999998', '1769.6056495', '1774.6156495', '1779.6256495', '1784.6356495', '1789.6356495', '1794.6456495', '1799.6556495', '1804.6656495', '1809.6756495', '1814.6856495000002', '1819.6956495000002', '1824.7056495', '1829.7056495', '1834.7156495000002', '1839.7256495000001', '1844.7356495', '1849.7456495', '1854.7556495', '1859.7656494999999', '1864.7756495', '1869.7756494999999', '1874.7856494999999', '1879.7956495', '1884.8056495', '1889.8156495', '1894.8256495', '1899.8356495', '1904.8356495', '1909.8456495', '1914.8556495', '1919.8656495', '1924.8756495', '1929.8856495', '1934.8956495', '1939.9056495', '1944.9056495000002', '1949.9156495', '1954.9256495', '1959.9356495', '1964.9456495', '1969.9556495', '1974.9656495000002', '1979.9656495', '1984.9756495', '1989.9856495', '1994.9956495000001', '2000.0056495', '2005.0156495', '2010.0256495', '2015.0356495', '2020.0356495', '2025.0456495', '2030.0556494999998', '2035.0656494999998', '2040.0756494999998', '2045.0856494999998', '2050.0956494999996', '2055.0956495', '2060.1056495000003', '2065.1156495', '2070.1256495', '2075.1356495', '2080.1456494999998', '2085.1556495', '2090.1656494999997', '2095.1656495', '2100.1756495', '2105.1856495', '2110.1956495', '2115.2056495', '2120.2156495', '2125.2256495', '2130.2256494999997', '2135.2356495000004', '2140.2456495', '2145.2556495000003', '2150.2656495', '2155.2756495', '2160.2856495', '2165.2956495', '2170.2956495', '2175.3056494999996', '2180.3156495', '2185.3256495', '2190.3356495000003', '2195.3456495', '2200.3556495000003', '2205.3556495', '2210.3656495', '2215.3756495', '2220.3856495', '2225.3956494999998', '2230.4056495', '2235.4156495', '2240.4256495', '2245.4256495', '2250.4356495', '2255.4456495', '2260.4556494999997', '2265.4656495', '2270.4756494999997', '2275.4856495000004', '2280.4856495', '2285.4956495', '2290.5056495', '2295.5156495', '2300.5256495', '2305.5356495', '2310.5456495', '2315.5556494999996', '2320.5556495', '2325.5656495000003', '2330.5756495', '2335.5856495', '2340.5956495', '2345.6056495', '2350.6156495', '2355.6156495', '2360.6256495000002', '2365.6356495', '2370.6456495', '2375.6556495', '2380.6656495', '2385.6756495', '2390.6856495', '2395.6856494999997', '2400.6956495', '2405.7056495', '2410.7156495000004', '2415.7256495', '2420.7356495', '2425.7456495', '2430.7456495', '2435.7556495', '2440.7656494999997', '2445.7756495', '2450.7856495', '2455.7956495000003', '2460.8056495', '2465.8156495000003', '2470.8156495', '2475.8256495', '2480.8356495', '2485.8456495', '2490.8556495', '2495.8656494999996', '2500.8756495000002']
- fwhm :
- ['5.57', '5.58', '5.58', '5.58', '5.590000000000001', '5.590000000000001', '5.590000000000001', '5.6', '5.6', '5.6', '5.6', '5.61', '5.61', '5.61', '5.62', '5.62', '5.62', '5.62', '5.63', '5.63', '5.63', '5.64', '5.64', '5.64', '5.64', '5.6499999999999995', '5.6499999999999995', '5.6499999999999995', '5.6499999999999995', '5.66', '5.66', '5.66', '5.66', '5.66', '5.67', '5.67', '5.67', '5.67', '5.68', '5.68', '5.68', '5.68', '5.68', '5.6899999999999995', '5.6899999999999995', '5.6899999999999995', '5.6899999999999995', '5.6899999999999995', '5.7', '5.7', '5.7', '5.7', '5.7', '5.7', '5.71', '5.71', '5.71', '5.71', '5.71', '5.71', '5.720000000000001', '5.720000000000001', '5.720000000000001', '5.720000000000001', '5.720000000000001', '5.720000000000001', '5.720000000000001', '5.7299999999999995', '5.7299999999999995', '5.7299999999999995', '5.7299999999999995', '5.7299999999999995', '5.7299999999999995', '5.7299999999999995', '5.7299999999999995', '5.74', '5.74', '5.74', '5.74', '5.74', '5.74', '5.74', '5.74', '5.74', '5.75', '5.75', '5.75', '5.75', '5.75', '5.75', '5.75', '5.75', '5.75', '5.75', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.87', '5.87', '5.87', '5.87', '5.87', '5.87', '5.87', '5.87', '5.88', '5.88', '5.88', '5.88', '5.88', '5.88', '5.88', '5.88', '5.890000000000001', '5.890000000000001', '5.890000000000001', '5.890000000000001', '5.890000000000001', '5.890000000000001', '5.890000000000001', '5.8999999999999995', '5.8999999999999995', '5.8999999999999995', '5.8999999999999995', '5.8999999999999995', '5.8999999999999995', '5.8999999999999995', '5.91', '5.91', '5.91', '5.91', '5.91', '5.91', '5.92', '5.92', '5.92', '5.92', '5.92', '5.92', '5.930000000000001', '5.930000000000001', '5.930000000000001', '5.930000000000001', '5.930000000000001', '5.930000000000001', '5.94', '5.94', '5.94', '5.94', '5.94', '5.95', '5.95', '5.95', '5.95', '5.95', '5.95', '5.96', '5.96', '5.96', '5.96', '5.96', '5.97', '5.97', '5.97', '5.97', '5.97', '5.98', '5.98', '5.98', '5.98', '5.98', '5.989999999999999', '5.989999999999999', '5.989999999999999', '5.989999999999999', '5.989999999999999', '6.0', '6.0', '6.0', '6.0', '6.01', '6.01', '6.01', '6.01', '6.01', '6.0200000000000005', '6.0200000000000005', '6.0200000000000005', '6.0200000000000005', '6.029999999999999']
Reproject the HLS dataset and the SHIFT data to the same CRS and resolution as the EMIT data
[9]:
ds_hls = ds_hls.rio.reproject(dst_crs=ds_emit.rio.crs, resolution=ds_emit.rio.transform()._scaling)
ds_shift = ds_shift.rio.reproject(dst_crs=ds_emit.rio.crs, resolution=ds_emit.rio.transform()._scaling)
ds_shift
[9]:
<xarray.Dataset>
Dimensions: (x: 65, y: 73, wavelength: 425)
Coordinates:
* x (x) float64 -120.4 -120.4 -120.4 ... -120.4 -120.4 -120.4
* y (y) float64 34.48 34.48 34.48 34.48 ... 34.44 34.44 34.44 34.44
* wavelength (wavelength) float32 377.2 382.2 387.2 ... 2.496e+03 2.501e+03
time datetime64[ns] 2022-04-29
spatial_ref int64 0
Data variables:
reflectance (wavelength, y, x) float32 3.403e+38 3.403e+38 ... 3.403e+38
Attributes: (12/13)
description: flight_products/20220224/box_mosaics/box_rfl_p...
samples: 13739
lines: 12023
bands: 425
header offset: 0
file type: ENVI Standard
... ...
interleave: bil
byte order: 0
map info: ['UTM', '1', '1', '717720', '3865865', '5', '5...
coordinate system string: ['PROJCS["WGS_1984_UTM_Zone_10N"', 'GEOGCS["GC...
wavelength: ['377.1956495', '382.20564950000005', '387.215...
fwhm: ['5.57', '5.58', '5.58', '5.58', '5.5900000000...- x: 65
- y: 73
- wavelength: 425
- x(x)float64-120.4 -120.4 ... -120.4 -120.4
- axis :
- X
- long_name :
- longitude
- standard_name :
- longitude
- units :
- degrees_east
array([-120.447795, -120.447252, -120.44671 , -120.446168, -120.445626, -120.445083, -120.444541, -120.443999, -120.443457, -120.442915, -120.442372, -120.44183 , -120.441288, -120.440746, -120.440203, -120.439661, -120.439119, -120.438577, -120.438034, -120.437492, -120.43695 , -120.436408, -120.435866, -120.435323, -120.434781, -120.434239, -120.433697, -120.433154, -120.432612, -120.43207 , -120.431528, -120.430985, -120.430443, -120.429901, -120.429359, -120.428816, -120.428274, -120.427732, -120.42719 , -120.426648, -120.426105, -120.425563, -120.425021, -120.424479, -120.423936, -120.423394, -120.422852, -120.42231 , -120.421767, -120.421225, -120.420683, -120.420141, -120.419599, -120.419056, -120.418514, -120.417972, -120.41743 , -120.416887, -120.416345, -120.415803, -120.415261, -120.414718, -120.414176, -120.413634, -120.413092]) - y(y)float6434.48 34.48 34.48 ... 34.44 34.44
- axis :
- Y
- long_name :
- latitude
- standard_name :
- latitude
- units :
- degrees_north
array([34.480918, 34.480376, 34.479834, 34.479292, 34.478749, 34.478207, 34.477665, 34.477123, 34.47658 , 34.476038, 34.475496, 34.474954, 34.474411, 34.473869, 34.473327, 34.472785, 34.472242, 34.4717 , 34.471158, 34.470616, 34.470074, 34.469531, 34.468989, 34.468447, 34.467905, 34.467362, 34.46682 , 34.466278, 34.465736, 34.465193, 34.464651, 34.464109, 34.463567, 34.463025, 34.462482, 34.46194 , 34.461398, 34.460856, 34.460313, 34.459771, 34.459229, 34.458687, 34.458144, 34.457602, 34.45706 , 34.456518, 34.455976, 34.455433, 34.454891, 34.454349, 34.453807, 34.453264, 34.452722, 34.45218 , 34.451638, 34.451095, 34.450553, 34.450011, 34.449469, 34.448926, 34.448384, 34.447842, 34.4473 , 34.446758, 34.446215, 34.445673, 34.445131, 34.444589, 34.444046, 34.443504, 34.442962, 34.44242 , 34.441877]) - wavelength(wavelength)float32377.2 382.2 ... 2.496e+03 2.501e+03
array([ 377.19565, 382.20566, 387.21564, ..., 2490.8557 , 2495.8657 , 2500.8757 ], dtype=float32) - time()datetime64[ns]2022-04-29
array('2022-04-29T00:00:00.000000000', dtype='datetime64[ns]') - spatial_ref()int640
- crs_wkt :
- GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
- semi_major_axis :
- 6378137.0
- semi_minor_axis :
- 6356752.314245179
- inverse_flattening :
- 298.257223563
- reference_ellipsoid_name :
- WGS 84
- longitude_of_prime_meridian :
- 0.0
- prime_meridian_name :
- Greenwich
- geographic_crs_name :
- WGS 84
- grid_mapping_name :
- latitude_longitude
- spatial_ref :
- GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
- GeoTransform :
- -120.44806573841683 0.0005422325202564269 0.0 34.481189332438355 0.0 -0.0005422325202564269
array(0)
- reflectance(wavelength, y, x)float323.403e+38 3.403e+38 ... 3.403e+38
- _FillValue :
- 3.402823466e+38
array([[[3.40282347e+38, 3.40282347e+38, nan, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38], [3.40282347e+38, 3.40282347e+38, 4.14588377e-02, ..., nan, nan, nan], [3.40282347e+38, 3.40282347e+38, 4.37569506e-02, ..., nan, nan, nan], ..., [ nan, nan, 2.38844696e-02, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38], [ nan, nan, 1.97343696e-02, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38], [3.40282347e+38, 3.40282347e+38, 3.40282347e+38, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38]], [[3.40282347e+38, 3.40282347e+38, nan, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38], [3.40282347e+38, 3.40282347e+38, 2.58148201e-02, ..., nan, nan, nan], [3.40282347e+38, 3.40282347e+38, 2.19382513e-02, ..., nan, nan, nan], ... [ nan, nan, 3.02913636e-02, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38], [ nan, nan, 1.17636742e-02, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38], [3.40282347e+38, 3.40282347e+38, 3.40282347e+38, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38]], [[3.40282347e+38, 3.40282347e+38, nan, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38], [3.40282347e+38, 3.40282347e+38, 1.35094464e-01, ..., nan, nan, nan], [3.40282347e+38, 3.40282347e+38, 9.68004465e-02, ..., nan, nan, nan], ..., [ nan, nan, 2.61497535e-02, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38], [ nan, nan, 1.60868932e-02, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38], [3.40282347e+38, 3.40282347e+38, 3.40282347e+38, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38]]], dtype=float32)
- description :
- flight_products/20220224/box_mosaics/box_rfl_phase_l2a
- samples :
- 13739
- lines :
- 12023
- bands :
- 425
- header offset :
- 0
- file type :
- ENVI Standard
- data type :
- 4
- interleave :
- bil
- byte order :
- 0
- map info :
- ['UTM', '1', '1', '717720', '3865865', '5', '5', '10', 'North', 'WGS-84']
- coordinate system string :
- ['PROJCS["WGS_1984_UTM_Zone_10N"', 'GEOGCS["GCS_WGS_1984"', 'DATUM["D_WGS_1984"', 'SPHEROID["WGS_1984"', '6378137.0', '298.257223563]]', 'PRIMEM["Greenwich"', '0.0]', 'UNIT["Degree"', '0.0174532925199433]]', 'PROJECTION["Transverse_Mercator"]', 'PARAMETER["False_Easting"', '500000.0]', 'PARAMETER["False_Northing"', '0.0]', 'PARAMETER["Central_Meridian"', '-123.0]', 'PARAMETER["Scale_Factor"', '0.9996]', 'PARAMETER["Latitude_Of_Origin"', '0.0]', 'UNIT["Meter"', '1.0]]']
- wavelength :
- ['377.1956495', '382.20564950000005', '387.2156495', '392.2256495', '397.2256495', '402.2356495', '407.24564949999996', '412.2556495', '417.2656495', '422.27564950000004', '427.2856495', '432.29564949999997', '437.29564949999997', '442.3056495', '447.3156495', '452.3256495', '457.3356495', '462.34564950000004', '467.3556495', '472.35564949999997', '477.36564949999996', '482.3756495', '487.3856495', '492.3956495', '497.4056495', '502.4156495', '507.4256495', '512.4256495000001', '517.4356495', '522.4456495000001', '527.4556495', '532.4656494999999', '537.4756495', '542.4856495', '547.4856495', '552.4956495', '557.5056495', '562.5156495', '567.5256495', '572.5356495', '577.5456495', '582.5556495000001', '587.5556495000001', '592.5656495000001', '597.5756494999999', '602.5856495', '607.5956495', '612.6056494999999', '617.6156495', '622.6156495', '627.6256495', '632.6356495', '637.6456495', '642.6556495', '647.6656495000001', '652.6756495', '657.6856495', '662.6856495', '667.6956495000001', '672.7056495', '677.7156494999999', '682.7256495', '687.7356495', '692.7456494999999', '697.7456494999999', '702.7556495', '707.7656495', '712.7756495000001', '717.7856495', '722.7956495', '727.8056495000001', '732.8156495', '737.8156495', '742.8256494999999', '747.8356495', '752.8456495', '757.8556494999999', '762.8656495', '767.8756495', '772.8756495', '777.8856495', '782.8956495', '787.9056495', '792.9156495000001', '797.9256495', '802.9356495', '807.9456495000001', '812.9456495000001', '817.9556494999999', '822.9656494999999', '827.9756495', '832.9856495', '837.9956495', '843.0056495', '848.0056495', '853.0156495', '858.0256495000001', '863.0356495', '868.0456495', '873.0556495000001', '878.0656495', '883.0756494999999', '888.0756494999999', '893.0856495', '898.0956495', '903.1056495', '908.1156495', '913.1256495', '918.1356495', '923.1456495', '928.1456495', '933.1556495', '938.1656495000001', '943.1756495', '948.1856495', '953.1956495000001', '958.2056494999999', '963.2056494999999', '968.2156495', '973.2256495', '978.2356495', '983.2456495', '988.2556495', '993.2656495', '998.2756495', '1003.2756494999999', '1008.2856495000001', '1013.2956495000001', '1018.3056495000001', '1023.3156495', '1028.3256494999998', '1033.3356494999998', '1038.3356495', '1043.3456495', '1048.3556495', '1053.3656494999998', '1058.3756495', '1063.3856495', '1068.3956495', '1073.4056495', '1078.4056495', '1083.4156495', '1088.4256495', '1093.4356495', '1098.4456495', '1103.4556495000002', '1108.4656495', '1113.4656495', '1118.4756495', '1123.4856495000001', '1128.4956495000001', '1133.5056495', '1138.5156494999999', '1143.5256494999999', '1148.5356495', '1153.5356495', '1158.5456494999999', '1163.5556494999998', '1168.5656495', '1173.5756495', '1178.5856495', '1183.5956495', '1188.5956495', '1193.6056495', '1198.6156495', '1203.6256495', '1208.6356495', '1213.6456495', '1218.6556495', '1223.6656495', '1228.6656495', '1233.6756495000002', '1238.6856495', '1243.6956495', '1248.7056495', '1253.7156495', '1258.7256495000001', '1263.7256495', '1268.7356495', '1273.7456495', '1278.7556495000001', '1283.7656495', '1288.7756495', '1293.7856494999999', '1298.7956494999999', '1303.7956495', '1308.8056495', '1313.8156495', '1318.8256494999998', '1323.8356495', '1328.8456495', '1333.8556495', '1338.8556494999998', '1343.8656495', '1348.8756495', '1353.8856495', '1358.8956495', '1363.9056495', '1368.9156495000002', '1373.9256495', '1378.9256495', '1383.9356495', '1388.9456495000002', '1393.9556495000002', '1398.9656495', '1403.9756495', '1408.9856495', '1413.9856495000001', '1418.9956495', '1424.0056495', '1429.0156494999999', '1434.0256495', '1439.0356495', '1444.0456495', '1449.0556495', '1454.0556495', '1459.0656495', '1464.0756495', '1469.0856495', '1474.0956495', '1479.1056494999998', '1484.1156495', '1489.1156495', '1494.1256495', '1499.1356495', '1504.1456495', '1509.1556495', '1514.1656495', '1519.1756495', '1524.1856495', '1529.1856495', '1534.1956495', '1539.2056495', '1544.2156495', '1549.2256495000001', '1554.2356495000001', '1559.2456495', '1564.2456495', '1569.2556495000001', '1574.2656495', '1579.2756495', '1584.2856494999999', '1589.2956494999999', '1594.3056495', '1599.3156495', '1604.3156494999998', '1609.3256494999998', '1614.3356495', '1619.3456495', '1624.3556495', '1629.3656495', '1634.3756495', '1639.3756495', '1644.3856495', '1649.3956495', '1654.4056495', '1659.4156495000002', '1664.4256495', '1669.4356495', '1674.4456495', '1679.4456495000002', '1684.4556495', '1689.4656495', '1694.4756495', '1699.4856495', '1704.4956495000001', '1709.5056495000001', '1714.5056495', '1719.5156494999999', '1724.5256495', '1729.5356495', '1734.5456495', '1739.5556495', '1744.5656494999998', '1749.5756495', '1754.5756495', '1759.5856495', '1764.5956494999998', '1769.6056495', '1774.6156495', '1779.6256495', '1784.6356495', '1789.6356495', '1794.6456495', '1799.6556495', '1804.6656495', '1809.6756495', '1814.6856495000002', '1819.6956495000002', '1824.7056495', '1829.7056495', '1834.7156495000002', '1839.7256495000001', '1844.7356495', '1849.7456495', '1854.7556495', '1859.7656494999999', '1864.7756495', '1869.7756494999999', '1874.7856494999999', '1879.7956495', '1884.8056495', '1889.8156495', '1894.8256495', '1899.8356495', '1904.8356495', '1909.8456495', '1914.8556495', '1919.8656495', '1924.8756495', '1929.8856495', '1934.8956495', '1939.9056495', '1944.9056495000002', '1949.9156495', '1954.9256495', '1959.9356495', '1964.9456495', '1969.9556495', '1974.9656495000002', '1979.9656495', '1984.9756495', '1989.9856495', '1994.9956495000001', '2000.0056495', '2005.0156495', '2010.0256495', '2015.0356495', '2020.0356495', '2025.0456495', '2030.0556494999998', '2035.0656494999998', '2040.0756494999998', '2045.0856494999998', '2050.0956494999996', '2055.0956495', '2060.1056495000003', '2065.1156495', '2070.1256495', '2075.1356495', '2080.1456494999998', '2085.1556495', '2090.1656494999997', '2095.1656495', '2100.1756495', '2105.1856495', '2110.1956495', '2115.2056495', '2120.2156495', '2125.2256495', '2130.2256494999997', '2135.2356495000004', '2140.2456495', '2145.2556495000003', '2150.2656495', '2155.2756495', '2160.2856495', '2165.2956495', '2170.2956495', '2175.3056494999996', '2180.3156495', '2185.3256495', '2190.3356495000003', '2195.3456495', '2200.3556495000003', '2205.3556495', '2210.3656495', '2215.3756495', '2220.3856495', '2225.3956494999998', '2230.4056495', '2235.4156495', '2240.4256495', '2245.4256495', '2250.4356495', '2255.4456495', '2260.4556494999997', '2265.4656495', '2270.4756494999997', '2275.4856495000004', '2280.4856495', '2285.4956495', '2290.5056495', '2295.5156495', '2300.5256495', '2305.5356495', '2310.5456495', '2315.5556494999996', '2320.5556495', '2325.5656495000003', '2330.5756495', '2335.5856495', '2340.5956495', '2345.6056495', '2350.6156495', '2355.6156495', '2360.6256495000002', '2365.6356495', '2370.6456495', '2375.6556495', '2380.6656495', '2385.6756495', '2390.6856495', '2395.6856494999997', '2400.6956495', '2405.7056495', '2410.7156495000004', '2415.7256495', '2420.7356495', '2425.7456495', '2430.7456495', '2435.7556495', '2440.7656494999997', '2445.7756495', '2450.7856495', '2455.7956495000003', '2460.8056495', '2465.8156495000003', '2470.8156495', '2475.8256495', '2480.8356495', '2485.8456495', '2490.8556495', '2495.8656494999996', '2500.8756495000002']
- fwhm :
- ['5.57', '5.58', '5.58', '5.58', '5.590000000000001', '5.590000000000001', '5.590000000000001', '5.6', '5.6', '5.6', '5.6', '5.61', '5.61', '5.61', '5.62', '5.62', '5.62', '5.62', '5.63', '5.63', '5.63', '5.64', '5.64', '5.64', '5.64', '5.6499999999999995', '5.6499999999999995', '5.6499999999999995', '5.6499999999999995', '5.66', '5.66', '5.66', '5.66', '5.66', '5.67', '5.67', '5.67', '5.67', '5.68', '5.68', '5.68', '5.68', '5.68', '5.6899999999999995', '5.6899999999999995', '5.6899999999999995', '5.6899999999999995', '5.6899999999999995', '5.7', '5.7', '5.7', '5.7', '5.7', '5.7', '5.71', '5.71', '5.71', '5.71', '5.71', '5.71', '5.720000000000001', '5.720000000000001', '5.720000000000001', '5.720000000000001', '5.720000000000001', '5.720000000000001', '5.720000000000001', '5.7299999999999995', '5.7299999999999995', '5.7299999999999995', '5.7299999999999995', '5.7299999999999995', '5.7299999999999995', '5.7299999999999995', '5.7299999999999995', '5.74', '5.74', '5.74', '5.74', '5.74', '5.74', '5.74', '5.74', '5.74', '5.75', '5.75', '5.75', '5.75', '5.75', '5.75', '5.75', '5.75', '5.75', '5.75', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.87', '5.87', '5.87', '5.87', '5.87', '5.87', '5.87', '5.87', '5.88', '5.88', '5.88', '5.88', '5.88', '5.88', '5.88', '5.88', '5.890000000000001', '5.890000000000001', '5.890000000000001', '5.890000000000001', '5.890000000000001', '5.890000000000001', '5.890000000000001', '5.8999999999999995', '5.8999999999999995', '5.8999999999999995', '5.8999999999999995', '5.8999999999999995', '5.8999999999999995', '5.8999999999999995', '5.91', '5.91', '5.91', '5.91', '5.91', '5.91', '5.92', '5.92', '5.92', '5.92', '5.92', '5.92', '5.930000000000001', '5.930000000000001', '5.930000000000001', '5.930000000000001', '5.930000000000001', '5.930000000000001', '5.94', '5.94', '5.94', '5.94', '5.94', '5.95', '5.95', '5.95', '5.95', '5.95', '5.95', '5.96', '5.96', '5.96', '5.96', '5.96', '5.97', '5.97', '5.97', '5.97', '5.97', '5.98', '5.98', '5.98', '5.98', '5.98', '5.989999999999999', '5.989999999999999', '5.989999999999999', '5.989999999999999', '5.989999999999999', '6.0', '6.0', '6.0', '6.0', '6.01', '6.01', '6.01', '6.01', '6.01', '6.0200000000000005', '6.0200000000000005', '6.0200000000000005', '6.0200000000000005', '6.029999999999999']
Reproject the HLS dataset and the SHIFT data to the same CRS and shape as the EMIT data
[10]:
shape = ds_emit.dims[ds_emit.rio.x_dim], ds_emit.dims[ds_emit.rio.y_dim]
ds_hls = ds_hls.rio.reproject(dst_crs=ds_emit.rio.crs, shape=shape)
ds_shift = ds_shift.rio.reproject(dst_crs=ds_emit.rio.crs, shape=shape)
ds_shift
[10]:
<xarray.Dataset>
Dimensions: (x: 71, y: 61, wavelength: 425)
Coordinates:
* x (x) float64 -120.4 -120.4 -120.4 ... -120.4 -120.4 -120.4
* y (y) float64 34.48 34.48 34.48 34.48 ... 34.44 34.44 34.44 34.44
* wavelength (wavelength) float32 377.2 382.2 387.2 ... 2.496e+03 2.501e+03
time datetime64[ns] 2022-04-29
spatial_ref int64 0
Data variables:
reflectance (wavelength, y, x) float32 3.403e+38 3.403e+38 ... 3.403e+38
Attributes: (12/13)
description: flight_products/20220224/box_mosaics/box_rfl_p...
samples: 13739
lines: 12023
bands: 425
header offset: 0
file type: ENVI Standard
... ...
interleave: bil
byte order: 0
map info: ['UTM', '1', '1', '717720', '3865865', '5', '5...
coordinate system string: ['PROJCS["WGS_1984_UTM_Zone_10N"', 'GEOGCS["GC...
wavelength: ['377.1956495', '382.20564950000005', '387.215...
fwhm: ['5.57', '5.58', '5.58', '5.58', '5.5900000000...- x: 71
- y: 61
- wavelength: 425
- x(x)float64-120.4 -120.4 ... -120.4 -120.4
- axis :
- X
- long_name :
- longitude
- standard_name :
- longitude
- units :
- degrees_east
array([-120.447818, -120.447321, -120.446825, -120.446328, -120.445832, -120.445335, -120.444839, -120.444343, -120.443846, -120.44335 , -120.442853, -120.442357, -120.441861, -120.441364, -120.440868, -120.440371, -120.439875, -120.439379, -120.438882, -120.438386, -120.437889, -120.437393, -120.436897, -120.4364 , -120.435904, -120.435407, -120.434911, -120.434414, -120.433918, -120.433422, -120.432925, -120.432429, -120.431932, -120.431436, -120.43094 , -120.430443, -120.429947, -120.42945 , -120.428954, -120.428458, -120.427961, -120.427465, -120.426968, -120.426472, -120.425975, -120.425479, -120.424983, -120.424486, -120.42399 , -120.423493, -120.422997, -120.422501, -120.422004, -120.421508, -120.421011, -120.420515, -120.420019, -120.419522, -120.419026, -120.418529, -120.418033, -120.417537, -120.41704 , -120.416544, -120.416047, -120.415551, -120.415054, -120.414558, -120.414062, -120.413565, -120.413069]) - y(y)float6434.48 34.48 34.48 ... 34.44 34.44
- axis :
- Y
- long_name :
- latitude
- standard_name :
- latitude
- units :
- degrees_north
array([34.480865, 34.480216, 34.479567, 34.478918, 34.478269, 34.47762 , 34.476971, 34.476323, 34.475674, 34.475025, 34.474376, 34.473727, 34.473078, 34.472429, 34.47178 , 34.471131, 34.470482, 34.469834, 34.469185, 34.468536, 34.467887, 34.467238, 34.466589, 34.46594 , 34.465291, 34.464642, 34.463993, 34.463345, 34.462696, 34.462047, 34.461398, 34.460749, 34.4601 , 34.459451, 34.458802, 34.458153, 34.457504, 34.456856, 34.456207, 34.455558, 34.454909, 34.45426 , 34.453611, 34.452962, 34.452313, 34.451664, 34.451015, 34.450367, 34.449718, 34.449069, 34.44842 , 34.447771, 34.447122, 34.446473, 34.445824, 34.445175, 34.444526, 34.443878, 34.443229, 34.44258 , 34.441931]) - wavelength(wavelength)float32377.2 382.2 ... 2.496e+03 2.501e+03
array([ 377.19565, 382.20566, 387.21564, ..., 2490.8557 , 2495.8657 , 2500.8757 ], dtype=float32) - time()datetime64[ns]2022-04-29
array('2022-04-29T00:00:00.000000000', dtype='datetime64[ns]') - spatial_ref()int640
- crs_wkt :
- GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
- semi_major_axis :
- 6378137.0
- semi_minor_axis :
- 6356752.314245179
- inverse_flattening :
- 298.257223563
- reference_ellipsoid_name :
- WGS 84
- longitude_of_prime_meridian :
- 0.0
- prime_meridian_name :
- Greenwich
- geographic_crs_name :
- WGS 84
- grid_mapping_name :
- latitude_longitude
- spatial_ref :
- GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
- GeoTransform :
- -120.44806573841683 0.0004964100537558557 0.0 34.481189332438355 0.0 -0.0006489012127658513
array(0)
- reflectance(wavelength, y, x)float323.403e+38 3.403e+38 ... 3.403e+38
- _FillValue :
- 3.4028235e+38
array([[[3.40282347e+38, 3.40282347e+38, nan, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38], [3.40282347e+38, 3.40282347e+38, 4.14588377e-02, ..., nan, nan, nan], [3.40282347e+38, 3.40282347e+38, 4.37569506e-02, ..., nan, nan, nan], ..., [ nan, nan, 2.38844696e-02, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38], [ nan, nan, 1.97343696e-02, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38], [3.40282347e+38, 3.40282347e+38, 3.40282347e+38, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38]], [[3.40282347e+38, 3.40282347e+38, nan, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38], [3.40282347e+38, 3.40282347e+38, 2.58148201e-02, ..., nan, nan, nan], [3.40282347e+38, 3.40282347e+38, 2.19382513e-02, ..., nan, nan, nan], ... [ nan, nan, 3.02913636e-02, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38], [ nan, nan, 1.17636742e-02, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38], [3.40282347e+38, 3.40282347e+38, 3.40282347e+38, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38]], [[3.40282347e+38, 3.40282347e+38, nan, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38], [3.40282347e+38, 3.40282347e+38, 1.35094464e-01, ..., nan, nan, nan], [3.40282347e+38, 3.40282347e+38, 9.68004465e-02, ..., nan, nan, nan], ..., [ nan, nan, 2.61497535e-02, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38], [ nan, nan, 1.60868932e-02, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38], [3.40282347e+38, 3.40282347e+38, 3.40282347e+38, ..., 3.40282347e+38, 3.40282347e+38, 3.40282347e+38]]], dtype=float32)
- description :
- flight_products/20220224/box_mosaics/box_rfl_phase_l2a
- samples :
- 13739
- lines :
- 12023
- bands :
- 425
- header offset :
- 0
- file type :
- ENVI Standard
- data type :
- 4
- interleave :
- bil
- byte order :
- 0
- map info :
- ['UTM', '1', '1', '717720', '3865865', '5', '5', '10', 'North', 'WGS-84']
- coordinate system string :
- ['PROJCS["WGS_1984_UTM_Zone_10N"', 'GEOGCS["GCS_WGS_1984"', 'DATUM["D_WGS_1984"', 'SPHEROID["WGS_1984"', '6378137.0', '298.257223563]]', 'PRIMEM["Greenwich"', '0.0]', 'UNIT["Degree"', '0.0174532925199433]]', 'PROJECTION["Transverse_Mercator"]', 'PARAMETER["False_Easting"', '500000.0]', 'PARAMETER["False_Northing"', '0.0]', 'PARAMETER["Central_Meridian"', '-123.0]', 'PARAMETER["Scale_Factor"', '0.9996]', 'PARAMETER["Latitude_Of_Origin"', '0.0]', 'UNIT["Meter"', '1.0]]']
- wavelength :
- ['377.1956495', '382.20564950000005', '387.2156495', '392.2256495', '397.2256495', '402.2356495', '407.24564949999996', '412.2556495', '417.2656495', '422.27564950000004', '427.2856495', '432.29564949999997', '437.29564949999997', '442.3056495', '447.3156495', '452.3256495', '457.3356495', '462.34564950000004', '467.3556495', '472.35564949999997', '477.36564949999996', '482.3756495', '487.3856495', '492.3956495', '497.4056495', '502.4156495', '507.4256495', '512.4256495000001', '517.4356495', '522.4456495000001', '527.4556495', '532.4656494999999', '537.4756495', '542.4856495', '547.4856495', '552.4956495', '557.5056495', '562.5156495', '567.5256495', '572.5356495', '577.5456495', '582.5556495000001', '587.5556495000001', '592.5656495000001', '597.5756494999999', '602.5856495', '607.5956495', '612.6056494999999', '617.6156495', '622.6156495', '627.6256495', '632.6356495', '637.6456495', '642.6556495', '647.6656495000001', '652.6756495', '657.6856495', '662.6856495', '667.6956495000001', '672.7056495', '677.7156494999999', '682.7256495', '687.7356495', '692.7456494999999', '697.7456494999999', '702.7556495', '707.7656495', '712.7756495000001', '717.7856495', '722.7956495', '727.8056495000001', '732.8156495', '737.8156495', '742.8256494999999', '747.8356495', '752.8456495', '757.8556494999999', '762.8656495', '767.8756495', '772.8756495', '777.8856495', '782.8956495', '787.9056495', '792.9156495000001', '797.9256495', '802.9356495', '807.9456495000001', '812.9456495000001', '817.9556494999999', '822.9656494999999', '827.9756495', '832.9856495', '837.9956495', '843.0056495', '848.0056495', '853.0156495', '858.0256495000001', '863.0356495', '868.0456495', '873.0556495000001', '878.0656495', '883.0756494999999', '888.0756494999999', '893.0856495', '898.0956495', '903.1056495', '908.1156495', '913.1256495', '918.1356495', '923.1456495', '928.1456495', '933.1556495', '938.1656495000001', '943.1756495', '948.1856495', '953.1956495000001', '958.2056494999999', '963.2056494999999', '968.2156495', '973.2256495', '978.2356495', '983.2456495', '988.2556495', '993.2656495', '998.2756495', '1003.2756494999999', '1008.2856495000001', '1013.2956495000001', '1018.3056495000001', '1023.3156495', '1028.3256494999998', '1033.3356494999998', '1038.3356495', '1043.3456495', '1048.3556495', '1053.3656494999998', '1058.3756495', '1063.3856495', '1068.3956495', '1073.4056495', '1078.4056495', '1083.4156495', '1088.4256495', '1093.4356495', '1098.4456495', '1103.4556495000002', '1108.4656495', '1113.4656495', '1118.4756495', '1123.4856495000001', '1128.4956495000001', '1133.5056495', '1138.5156494999999', '1143.5256494999999', '1148.5356495', '1153.5356495', '1158.5456494999999', '1163.5556494999998', '1168.5656495', '1173.5756495', '1178.5856495', '1183.5956495', '1188.5956495', '1193.6056495', '1198.6156495', '1203.6256495', '1208.6356495', '1213.6456495', '1218.6556495', '1223.6656495', '1228.6656495', '1233.6756495000002', '1238.6856495', '1243.6956495', '1248.7056495', '1253.7156495', '1258.7256495000001', '1263.7256495', '1268.7356495', '1273.7456495', '1278.7556495000001', '1283.7656495', '1288.7756495', '1293.7856494999999', '1298.7956494999999', '1303.7956495', '1308.8056495', '1313.8156495', '1318.8256494999998', '1323.8356495', '1328.8456495', '1333.8556495', '1338.8556494999998', '1343.8656495', '1348.8756495', '1353.8856495', '1358.8956495', '1363.9056495', '1368.9156495000002', '1373.9256495', '1378.9256495', '1383.9356495', '1388.9456495000002', '1393.9556495000002', '1398.9656495', '1403.9756495', '1408.9856495', '1413.9856495000001', '1418.9956495', '1424.0056495', '1429.0156494999999', '1434.0256495', '1439.0356495', '1444.0456495', '1449.0556495', '1454.0556495', '1459.0656495', '1464.0756495', '1469.0856495', '1474.0956495', '1479.1056494999998', '1484.1156495', '1489.1156495', '1494.1256495', '1499.1356495', '1504.1456495', '1509.1556495', '1514.1656495', '1519.1756495', '1524.1856495', '1529.1856495', '1534.1956495', '1539.2056495', '1544.2156495', '1549.2256495000001', '1554.2356495000001', '1559.2456495', '1564.2456495', '1569.2556495000001', '1574.2656495', '1579.2756495', '1584.2856494999999', '1589.2956494999999', '1594.3056495', '1599.3156495', '1604.3156494999998', '1609.3256494999998', '1614.3356495', '1619.3456495', '1624.3556495', '1629.3656495', '1634.3756495', '1639.3756495', '1644.3856495', '1649.3956495', '1654.4056495', '1659.4156495000002', '1664.4256495', '1669.4356495', '1674.4456495', '1679.4456495000002', '1684.4556495', '1689.4656495', '1694.4756495', '1699.4856495', '1704.4956495000001', '1709.5056495000001', '1714.5056495', '1719.5156494999999', '1724.5256495', '1729.5356495', '1734.5456495', '1739.5556495', '1744.5656494999998', '1749.5756495', '1754.5756495', '1759.5856495', '1764.5956494999998', '1769.6056495', '1774.6156495', '1779.6256495', '1784.6356495', '1789.6356495', '1794.6456495', '1799.6556495', '1804.6656495', '1809.6756495', '1814.6856495000002', '1819.6956495000002', '1824.7056495', '1829.7056495', '1834.7156495000002', '1839.7256495000001', '1844.7356495', '1849.7456495', '1854.7556495', '1859.7656494999999', '1864.7756495', '1869.7756494999999', '1874.7856494999999', '1879.7956495', '1884.8056495', '1889.8156495', '1894.8256495', '1899.8356495', '1904.8356495', '1909.8456495', '1914.8556495', '1919.8656495', '1924.8756495', '1929.8856495', '1934.8956495', '1939.9056495', '1944.9056495000002', '1949.9156495', '1954.9256495', '1959.9356495', '1964.9456495', '1969.9556495', '1974.9656495000002', '1979.9656495', '1984.9756495', '1989.9856495', '1994.9956495000001', '2000.0056495', '2005.0156495', '2010.0256495', '2015.0356495', '2020.0356495', '2025.0456495', '2030.0556494999998', '2035.0656494999998', '2040.0756494999998', '2045.0856494999998', '2050.0956494999996', '2055.0956495', '2060.1056495000003', '2065.1156495', '2070.1256495', '2075.1356495', '2080.1456494999998', '2085.1556495', '2090.1656494999997', '2095.1656495', '2100.1756495', '2105.1856495', '2110.1956495', '2115.2056495', '2120.2156495', '2125.2256495', '2130.2256494999997', '2135.2356495000004', '2140.2456495', '2145.2556495000003', '2150.2656495', '2155.2756495', '2160.2856495', '2165.2956495', '2170.2956495', '2175.3056494999996', '2180.3156495', '2185.3256495', '2190.3356495000003', '2195.3456495', '2200.3556495000003', '2205.3556495', '2210.3656495', '2215.3756495', '2220.3856495', '2225.3956494999998', '2230.4056495', '2235.4156495', '2240.4256495', '2245.4256495', '2250.4356495', '2255.4456495', '2260.4556494999997', '2265.4656495', '2270.4756494999997', '2275.4856495000004', '2280.4856495', '2285.4956495', '2290.5056495', '2295.5156495', '2300.5256495', '2305.5356495', '2310.5456495', '2315.5556494999996', '2320.5556495', '2325.5656495000003', '2330.5756495', '2335.5856495', '2340.5956495', '2345.6056495', '2350.6156495', '2355.6156495', '2360.6256495000002', '2365.6356495', '2370.6456495', '2375.6556495', '2380.6656495', '2385.6756495', '2390.6856495', '2395.6856494999997', '2400.6956495', '2405.7056495', '2410.7156495000004', '2415.7256495', '2420.7356495', '2425.7456495', '2430.7456495', '2435.7556495', '2440.7656494999997', '2445.7756495', '2450.7856495', '2455.7956495000003', '2460.8056495', '2465.8156495000003', '2470.8156495', '2475.8256495', '2480.8356495', '2485.8456495', '2490.8556495', '2495.8656494999996', '2500.8756495000002']
- fwhm :
- ['5.57', '5.58', '5.58', '5.58', '5.590000000000001', '5.590000000000001', '5.590000000000001', '5.6', '5.6', '5.6', '5.6', '5.61', '5.61', '5.61', '5.62', '5.62', '5.62', '5.62', '5.63', '5.63', '5.63', '5.64', '5.64', '5.64', '5.64', '5.6499999999999995', '5.6499999999999995', '5.6499999999999995', '5.6499999999999995', '5.66', '5.66', '5.66', '5.66', '5.66', '5.67', '5.67', '5.67', '5.67', '5.68', '5.68', '5.68', '5.68', '5.68', '5.6899999999999995', '5.6899999999999995', '5.6899999999999995', '5.6899999999999995', '5.6899999999999995', '5.7', '5.7', '5.7', '5.7', '5.7', '5.7', '5.71', '5.71', '5.71', '5.71', '5.71', '5.71', '5.720000000000001', '5.720000000000001', '5.720000000000001', '5.720000000000001', '5.720000000000001', '5.720000000000001', '5.720000000000001', '5.7299999999999995', '5.7299999999999995', '5.7299999999999995', '5.7299999999999995', '5.7299999999999995', '5.7299999999999995', '5.7299999999999995', '5.7299999999999995', '5.74', '5.74', '5.74', '5.74', '5.74', '5.74', '5.74', '5.74', '5.74', '5.75', '5.75', '5.75', '5.75', '5.75', '5.75', '5.75', '5.75', '5.75', '5.75', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.760000000000001', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.77', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.78', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.79', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.8100000000000005', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.819999999999999', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.83', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.84', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.8500000000000005', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.859999999999999', '5.87', '5.87', '5.87', '5.87', '5.87', '5.87', '5.87', '5.87', '5.88', '5.88', '5.88', '5.88', '5.88', '5.88', '5.88', '5.88', '5.890000000000001', '5.890000000000001', '5.890000000000001', '5.890000000000001', '5.890000000000001', '5.890000000000001', '5.890000000000001', '5.8999999999999995', '5.8999999999999995', '5.8999999999999995', '5.8999999999999995', '5.8999999999999995', '5.8999999999999995', '5.8999999999999995', '5.91', '5.91', '5.91', '5.91', '5.91', '5.91', '5.92', '5.92', '5.92', '5.92', '5.92', '5.92', '5.930000000000001', '5.930000000000001', '5.930000000000001', '5.930000000000001', '5.930000000000001', '5.930000000000001', '5.94', '5.94', '5.94', '5.94', '5.94', '5.95', '5.95', '5.95', '5.95', '5.95', '5.95', '5.96', '5.96', '5.96', '5.96', '5.96', '5.97', '5.97', '5.97', '5.97', '5.97', '5.98', '5.98', '5.98', '5.98', '5.98', '5.989999999999999', '5.989999999999999', '5.989999999999999', '5.989999999999999', '5.989999999999999', '6.0', '6.0', '6.0', '6.0', '6.01', '6.01', '6.01', '6.01', '6.01', '6.0200000000000005', '6.0200000000000005', '6.0200000000000005', '6.0200000000000005', '6.029999999999999']