Comments (11)
To exclude a possible explanation for the problem can you use alphabc=0 in the parameters and check if the problem remains ?
Thanks
from divand.jl.
To exclude a possible explanation for the problem can you use alphabc=0 in the parameters and check if the problem remains ?
Thanks
from divand.jl.
I wonder if its a problem with sparse_interp
I = localize_separable_grid((eNdint.lon,eNdint.lat,eNdint.w_depth), mask3d, grid)
H, out = sparse_interp(mask3d, I, [true,false,false])
Here I plot out
(within the red rectangular, the others are masked because of bathymetry). Even with iscyclic = [true, false, false], the observations are still masked out. I read the code and I didn't find any mention of moddim
there.
from divand.jl.
I tried on a simple case
if the data point is in the domain (not taking into account periodicity) everything is ok
if the data points is out of the domain (say -10 if you define your grid between 0 and 360) then it is not taken into account.
So what is the grid definition ?
from divand.jl.
lon = 2.0:4.0:358; lat = -88.0:4.0:88.0
The lon of the masked data are between 358 and 360 OR between 0 and 2. My lon data are all in the range of 0~360. There's no negative numbers.
This plot is better because now I have removed bathymetry mask.
from divand.jl.
Maybe its related to localize_separable_grid
which appears to have a strange behavior. It returns negative numbers for observations as long as only one dimension is outside the grid range. When calling I
in sparse_interp
, setting iscyclic = true
only modifies that dimension. For example, if an observation is outside lon grid but still within lat and depth grids, it gets a negative I
in all 3 dimension, and in sparse_interp
setting lon as cyclic only modifies the I
in lon dimension, while the other two dimensions are still negative. Shouldn't in such a case all three dimensions be modified to bring the point inside?
from divand.jl.
Thanks a lot for your analysis. This is exactly the issue. I am now testing a fix for this problem.
from divand.jl.
Can you try the new master branch?
from divand.jl.
Yes, It's fixed. Thanks!
from divand.jl.
A related question. Are the observations outside the grid domain used in the analysis?
from divand.jl.
Observations outside of the grid are not used for the analysis (neither are observations that fall on land defined by the mask). What can happen is that some of the auxiliary tools doing statistics on the data might not check if the points are on the domain or not but the analysis itself excludes the points falling outside.
from divand.jl.
Related Issues (20)
- Http 500 Internal Server Error[π] HOT 3
- [π]High memory consumption and inability to use divandgo or conjugate gradient inversion. HOT 16
- [π] Getting lists of data points that are used for each depth layer HOT 2
- [DOC] documentation of `diffusion` function HOT 11
- [Help needed] Correlation length and lengraddepth HOT 16
- Background of all observations over time HOT 15
- [π] When running DIVAnd, artifacts appear which seem to be linked to the bathymetry HOT 33
- L-shape criterium[π] HOT 1
- Sigma coordinates ?[π] HOT 11
- Unhandled Task ERROR: EOFError: read end of file HOT 5
- [π] DomainError when use background HOT 4
- "gradient" effect on DIVAnd maps[π] HOT 20
- 'data access' and 'WEB_visualisation' attributes not correct anymore HOT 3
- [Help needed]How to create and use my bathymetry fileοΌ HOT 7
- Diva2d? HOT 6
- [π]WARNING: Method definition DIVAnd_bc_stretch overwritten HOT 1
- Accurate meaning of the correlation length?[DOC] HOT 8
- adapt ODV files "load" function for WOD data[π] HOT 5
- pcg demanding more memory than direct solver ? HOT 2
- DIVAnd test failed during Pkg.test("DVAnd")[π] HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from divand.jl.