-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
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
Use data_type
and nodata
from raster
extension if present
#91
Comments
Thanks for opening the issue to track this; there's some more info in #63 (comment) too. Definitely excited about the |
Thanks for the link to #63. We're going to standardize our use of the |
Awesome, happy to hear Note that in doing this, we'll probably want to add some special-handling logic for stackstac/stackstac/prepare.py Lines 485 to 518 in 3a58906
|
Currently the default dtype is
float64
and the defaultfill_value
isnp.nan
.The raster extension defines fields for specifying the dtype (
data_type
) and fill value (no_data
). It might be a good idea to change the default to using values fromraster:band
, falling back tofloat64
/np.nan
if theraster
extension isn't present.The text was updated successfully, but these errors were encountered: