GithubHelp home page GithubHelp logo

Comments (4)

jmbeckers avatar jmbeckers commented on July 25, 2024

If the locations are those of the data used for the analysis you can use DIVAnd_residualobs to get the difference between the gridded field and the data (so you can get the gridded field at the location too).

If you know in advance (before you run DIVAnd) where you want to look at and the point is not a data point, you can still use DIVAnd_residualobs by adding some pseudo observations at these locations (with an infinite error variance).

If you already did the gridding and want to look at a position not falling on a grid point, you can simply use standard interpolation functions since now your gridded field is "smooth" enough to allow for simple interpolations. Eg. use package Interpolations (already used when working with DIVAnd).

from divand.jl.

JianghuiDu avatar JianghuiDu commented on July 25, 2024

I guess my problem fall somewhere between the 2nd and 3rd. I downloaded a gridded product from some other analysis. I want to compare to my measurements at certain locations which were not used to create the gridded product. Should I use the gridded data as input to perform a DIVAnd analysis, at the same time adding my data but with inf errors, and then do DIVAnd_residualobs? I have tried Interpolations but it doesn't deal with masks as far as I know, and I'd like to use distance based weights to the interpolation, rather than using linear/cubic methods.

from divand.jl.

jmbeckers avatar jmbeckers commented on July 25, 2024

Regridding with diva would be a solution. In that case you would probably use a low error on the "observations" (the original grid).

from divand.jl.

jmbeckers avatar jmbeckers commented on July 25, 2024

Or you use DIVAnd_fill! to fill the gridded array at the masked points and then the regular Interpolations package working on a full and regular array.

from divand.jl.

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.