Skip to content
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

FloodScan - raster-stats summary min/max missing #45

Open
zackarno opened this issue Oct 14, 2024 · 1 comment
Open

FloodScan - raster-stats summary min/max missing #45

zackarno opened this issue Oct 14, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@zackarno
Copy link
Collaborator

I tested 5 random dates between old and new pipeline and the file values seem to be exactly the same which is great!

One thing i noticed was that the print out of the new pipeline files does not include any pixel summary stats. I think this is actually true for all rasters coming out of this repo and has to do w/ the way the COGS are being written. You can see in the code snippet below that all we see is ? for min/max.

class       : SpatRaster 
dimensions  : 1080, 1080, 3  (nrow, ncol, nlyr)
resolution  : 0.08333333, 0.08333333  (x, y)
extent      : -30, 60, -50, 40  (xmin, xmax, ymin, ymax)
coord. ref. : lon/lat WGS 84 (EPSG:4326) 
sources     : aer_area_300s_20210313_v05r01.tif  
              aer_area_300s_20210313_v05r01.tif  
              memory  
varnames    : aer_area_300s_20210313_v05r01 
              aer_area_300s_20210313_v05r01 
names       : OLD PIPELINE, NEW PIPELINE
min values  :            0,           ?          
max values  :            1,           ?         

It's not really a make or break feature, but they can be a pretty handy way to quickly check the data exists and raster is read in properly - also it' odd that this metadata is not present as it's standard with most cogs (this is the first time i've seen it missing).

@zackarno zackarno added the enhancement New feature or request label Oct 14, 2024
@zackarno zackarno changed the title raster-stats summary min/max missing FloodScan - raster-stats summary min/max missing Oct 14, 2024
@hannahker hannahker self-assigned this Oct 17, 2024
@isatotun
Copy link
Collaborator

@hannahker and I will look into this together and see if it can be added eventually to our pipelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants