Comments (7)
You could use EddySubSetter tool to create a new atlas with only track which start after first day and ended before last day.
EddySubSetter \
--period {First day + 1 in julian day(day from 1950/1/1)} {Last day - 1 in julian day(day from 1950/1/1)} \
--full_path {atlas} {new_atlas}
You must replace all value between '{}'.
full_path
option will allow to keep only track which are fully in specified period.
You could do same things in python with your values
from py_eddy_tracker.observations.tracking import TrackEddiesObservations
c = TrackEddiesObservations.load_file("Cyclonic.nc")
c_subset = c.extract_with_period(
(20000,25000),
full_path=True)
c_subset.write_file(filename='my_dataset.nc')
You could found examples in gallery
and more information about API could be found here for TrackEddiesObservations
from py-eddy-tracker.
Thank you :)
from py-eddy-tracker.
Could you please tell me what full_path exactly do?
from py-eddy-tracker.
'full_path' option will return the whole track even if only one part are selected by criterion API doc.
So it was not the good option for you, correct option is 'remove_incomplete', :( sorry.
All trajectory which have outside observations of your period will be fully removed.
Antoine
from py-eddy-tracker.
full_path = False,
works as well for the filtering the files!
do you recommend to use 'full_path=false' or should I just go for 'remove_incomplete'?
from py-eddy-tracker.
Hi,
With the last message, i am not sure i understood original question.
I understood you would remove all track where you don't know if there are really born at first date or really dead(and not just stopped) at last date.
So my advice was to select all data between first_date + 1 and last_date -1 and remove with remove_incomplete=True
option all the track which are partially selected with date filtering.
Note:
full_path=False
is default value
from py-eddy-tracker.
okay.
Thanks :)
from py-eddy-tracker.
Related Issues (20)
- 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
- AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
- ValueError: Invalid format string HOT 4
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.