Comments (9)
Yes, v3.3.0. I think I can almost isolate the error with numba
. I'm preparing a MWE.
from py-eddy-tracker.
I thought a little bit about that, but i haven't quick/clean answer. I thought at this point the quickest solution is to load a regular grid(py-eddy-tracker meanings).
Another hack could be after loading grid
# When handler is create, no grid variable is loaded, you needs first to use 'grid' method to populate 'vars'
h.grid('XE')
# Manual transpose
h.vars['XE'] = h.vars['XE'].T
from py-eddy-tracker.
Hi Antoine, I though I had replied,
so thanks for the last bit of code, I'm trying to finish it now,
(had to stop working on this for the last two weeks).
from py-eddy-tracker.
Could you specify numba version?
from py-eddy-tracker.
Name: numba
Version: 0.51.1
Summary: compiling Python code using LLVM
Home-page: https://numba.github.com
Author: Anaconda, Inc.
Author-email: [email protected]
License: BSD
Location: /home/ctroupin/Software/PythonEnvs/EddyMitchell/lib/python3.8/site-packages/numba-0.51.1-py3.8-linux-x86_64.egg
Requires: llvmlite, numpy, setuptools
Required-by: pyEddyTracker
Edit: I've upgraded to 0.52, same result.
from py-eddy-tracker.
ok,
Did you use a py-eddy-tracker up to date ?
from py-eddy-tracker.
OK all fixed, I don't know exactly what failed by probably not numba
.
Now I just need to understand why the coordinates are mixed up, but it's cool to get results at the end.
from py-eddy-tracker.
I think several issues come from hack of RegularGridDataset.
In this specific case, i think i know reasons.
To know if software need to transpose grid in case of RegularGridDataset, we look at dimensions order of grid. That's good when you have a grid which are function of 1D array coordinates, but in your case i think this analyse fail due to coordinates are function of 2 dimensions.
from py-eddy-tracker.
Yes, that totally makes sense.
Is there any property of the grid
class that I could use to ensure the transpose if enabled or disabled?
from py-eddy-tracker.
Related Issues (20)
- Request for help HOT 3
- Bug with matplotlib 3.8
- py_eddy_tracker.dataset.grid issue HOT 6
- pixel position of grid HOT 4
- Lifetime average HOT 3
- The function in the library tried to use Numba to speed up the computation, but received an array of type numpy.ma.MaskedArray that is not supported by Numba. HOT 2
- error about eddy_identification function HOT 2
- Eddies detected on land HOT 6
- Eddy kinetic energy of different types of eddies and its calculation HOT 1
- about from py_eddy_tracker.dataset.grid import RegularGridDataset HOT 1
- Eddy detection issue HOT 3
- batch identification of eddies over multiple days from a single netCDF file HOT 14
- Request for help: No extrema found in contour of xxx pixels in level xxx HOT 6
- Issue reading NEMO UnRegularGrid HOT 2
- grid_count and grid_stat error HOT 2
- The boundary cannot be closed normally, and the longitude and latitude of some points are wrongγ HOT 6
- How to store the eddy tracking results HOT 4
- Data is Empty
- Data is Empty HOT 1
- Cartopy projection HOT 1
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 py-eddy-tracker.