GithubHelp home page GithubHelp logo

Lots of NANs about exactextract HOT 1 CLOSED

isciences avatar isciences commented on August 24, 2024
Lots of NANs

from exactextract.

Comments (1)

chapmanjacobd avatar chapmanjacobd commented on August 24, 2024

unsetting the nodata from both my rasters

gdal_edit.py -unsetnodata pop.tif
gdal_edit.py -unsetnodata walkable.tif

seemed to fix it

~/g/x/temp # cat countries_walkable.csv
NAME,pop_sum,variable_sum,variable_max,variable_mean,pop_weighted_mean
Afghanistan,9753520,943.059143066406,40,0.00362812471576035,0.269284546375275
Angola,9689003,1674.08544921875,72,0.00467964634299278,1.54831600189209
Albania,1102135.125,10026.787109375,689,0.6992227435112,37.0944442749023
United Arab Emirates,2645905.5,9642.537109375,488,0.36660099029541,5.38662815093994
Argentina,45506.94921875,237.93376159668,21,0.0123930675908923,2.90612316131592
Armenia,1076041.25,1425.55187988281,67,0.105954967439175,3.7758355140686
Antarctica,,,,,
Fr. S. Antarctic Lands,0,280.502258300781,32,0.0376532599329948,-nan
Australia,218187.109375,8278.0595703125,435,0.252639383077621,15.1573438644409

It would be nice if a setting for this was externalized in the CLI program (similar to this isciences/exactextractr#5 ) but whatevs

I'm going to update my data so the example in the OP will work correctly for other people

from exactextract.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.