Git Product home page Git Product logo

Comments (3)

jmbeckers avatar jmbeckers commented on September 26, 2024

It depends:
-if you are using diva3D I think you are limited to the regular lon-lat grid.
-if you are using DIVAndrun directly, you can use any regular orthogonal curvilinear grid, but you have to set it up yourself and define the associated metrics.

Another solution is to interpolate in a sufficiciently fine regular lon-lat grid (filtering via the noise-to-signal ratio included) and once the analysis obtained on a regular grid, just perform a linear interpolation into any position from that analysis. You can do this yourself or try the following trick within diva: add pseudo data to you data which are at the locations where you want the analysis but attach an infinite error to them (so their value is not taken into account). Once the analysis done, you can recover the analysis at the data points (or residuals), including at your pseudo-data points (your requested output points) and you are done.

from diva-workshops.

francescadgln avatar francescadgln commented on September 26, 2024

Hi jmbeckers, thank you very much for your suggestions!

I am interpolating a 2D field, so I decided to try to set a new system of coordinates and metrics in the lambert azimuthal equal-area, let's see if I succeed. What I did not understand how to do, is to set myself the correlation length in a dimension which is not meters (if I understood well, with fitcorrlen=false the default unit for the correlation length is meters..?)

The problem with using lat-lon grid, is that I can see discontinuity in the interpolated field at the boundary 180E-180W, I guess because in that region data are considered as being far apart from each other...?

Thank you,
Francesca

from diva-workshops.

jmbeckers avatar jmbeckers commented on September 26, 2024

Hi Francesca

If you use fitcorrlen I suppose you are using diva3D.

The -180: 180 problem can easily (?) be dealt with by activating keyword
moddim=[1,0]
in the parameter list for your 2D case

from diva-workshops.

Related Issues (19)

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.