Comments (4)
from py-eddy-tracker.
Ok, so the Wiki should be updated to reflect that. Is it no longer possible to add a 'tracking recipe', or is that now done within the yaml?
from py-eddy-tracker.
Is it the file 'tracking.yaml' in share? That is 2 years old.
Using that I get the following error:
(VENVP3) [emason@marula global4eddytracking]$ EddyTracking my_tracking.yaml
/home/emason/VENVP3/lib/python3.7/site-packages/pyEddyTracker-3.0.0-py3.7.egg/EGG-INFO/scripts/EddyTracking:109: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config = yaml_load(stream)
/home/emason/VENVP3/lib/python3.7/site-packages/pyEddyTracker-3.0.0-py3.7.egg/py_eddy_tracker/observations/observation.py:692: RuntimeWarning: invalid value encountered in less
return distance < 125
/home/emason/VENVP3/lib/python3.7/site-packages/numpy/ma/core.py:4008: RuntimeWarning: invalid value encountered in equal
check = compare(sdata, odata)
/home/emason/VENVP3/lib/python3.7/site-packages/pyEddyTracker-3.0.0-py3.7.egg/py_eddy_tracker/tracking.py:400: RuntimeWarning: invalid value encountered in equal
h_v.min = h_v[:].min()
/home/emason/VENVP3/lib/python3.7/site-packages/pyEddyTracker-3.0.0-py3.7.egg/py_eddy_tracker/tracking.py:401: RuntimeWarning: invalid value encountered in equal
h_v.max = h_v[:].max()
Traceback (most recent call last):
File "/home/emason/VENVP3/bin/EddyTracking", line 4, in <module>
__import__('pkg_resources').run_script('pyEddyTracker==3.0.0', 'EddyTracking')
File "/home/emason/VENVP3/lib/python3.7/site-packages/pkg_resources/__init__.py", line 666, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/emason/VENVP3/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1462, in run_script
exec(code, namespace, namespace)
File "/home/emason/VENVP3/lib/python3.7/site-packages/pyEddyTracker-3.0.0-py3.7.egg/EGG-INFO/scripts/EddyTracking", line 190, in <module>
SHORT_CORRESPONDANCES.shorter_than(size_max=NB_OBS_MIN)
File "/home/emason/VENVP3/lib/python3.7/site-packages/pyEddyTracker-3.0.0-py3.7.egg/py_eddy_tracker/tracking.py", line 513, in shorter_than
translate = empty(i_keep_track.max() + 1, dtype='u4')
File "/home/emason/VENVP3/lib/python3.7/site-packages/numpy/core/_methods.py", line 30, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
ValueError: zero-size array to reduction operation maximum which has no identity
(VENVP3) [emason@marula global4eddytracking]$
Two files are produced:
148 -rw-rw-r-- 1 emason emason 148224 Dec 28 17:43 Cyclonic_correspondances.nc
28 -rw-rw-r-- 1 emason emason 25888 Dec 28 17:43 Cyclonic_untracked.nc
but no Cyclonic.nc.
My yaml file contains:
#DIAGNOSTIC_TYPE: 'SLA'
#DIAGNOSTIC_TYPE: 'ADT'
PATHS:
# Files produces with EddyIdentification
FILES_PATTERN: /marula/emason/data/Copernicus/GLOBAL_REANALYSIS_PHY_001_030/global4eddytracking/Cyclonic_20061*.nc
# Path and filename of Chelton et al (1998) Rossby radius data
# Obtain file from:
# http://www-po.coas.oregonstate.edu/research/po/research/rossby_radius/
RW_PATH: '/home/emason/Dropbox/rossrad.dat'
# Path for saving of outputs
SAVE_DIR: '/marula/emason/data/Copernicus/GLOBAL_REANALYSIS_PHY_001_030/global4eddytracking/'
# Minimum number of observations to store eddy
TRACK_DURATION_MIN: 10
VIRTUAL_LENGTH_MAX: 0
from py-eddy-tracker.
So I updated all PET dependencies and that solved the issue for the missing Cyclonic.nc. I don't know which dependency was the culprit.
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.