Skip to content

gips_project returns nan when feature contains no raster pixel centers #47

@bhbraswell

Description

@bhbraswell

Example: Merra is 0.5 x 0.67 degree raster images. I want to extract data for each county in NH, even if it is only one pixel by one pixel. In this unusual case, I get a nan result for some counties, I believe because they are on the order of the size of the merra pixels, and do not contain a pixel center. Is this a gdal_rasterize issue that is outside the current scope of GIPS?

gips_project merra -p tave -d 2015-201 -s gadm2_vtnh_3410.shp -v4 --fetch --overwrite --outdir test102 -w "HASC_1='US.NH'" --res 1000 1000 -k HASC_2 --notld --interpolation 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions