We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
force full resolution for DN operations and then reproject on user grid with rasterio.warp.reproject
rasterio.warp.reproject
The text was updated successfully, but these errors were encountered:
idea of the code to use to reproject at the end (after denoising & recalibration) inspired by code in https://github.com/umr-lops/xarray-safe-s1/blob/main/safe_s1/metadata.py
sigma0_vv = s1DatasetfullRes.dataset.sigma0.sel(pol='VV') src_crs = sigma0_vv.rio.crs src_transform = sigma0_vv.rio.transform() dst_crs = src_crs sample, _ = translate * scale * (s1DatasetfullRes.dataset.sample, 0) _, line = translate * scale * (0, s1DatasetfullRes.dataset.line) dst2 = translate * scale destination = np.empty(shape=out_shape, dtype=sigma0_vv.dtype) zzzz_rms = rasterio.warp.reproject( source=sigma0_vv, destination=destination, src_transform=src_transform, src_crs=src_crs, dst_transform=dst2, dst_crs=dst_crs, resampling=Resampling.rms )
Sorry, something went wrong.
No branches or pull requests
force full resolution for DN operations
and then reproject on user grid with
rasterio.warp.reproject
The text was updated successfully, but these errors were encountered: