File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed
src/py_eddy_tracker/appli Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change
1
+ Network
2
+ =======
3
+
4
+ .. warning ::
5
+
6
+ Network is under development, API could move quickly!
Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ def anim():
282
282
parser .add_argument (
283
283
"--first_centered" ,
284
284
action = "store_true" ,
285
- help = "Longitude will be centered on first obs, if there are only one group ." ,
285
+ help = "Longitude will be centered on first obs." ,
286
286
)
287
287
parser .add_argument (
288
288
"--field" , default = "time" , help = "Field use to color contour instead of time"
@@ -310,13 +310,13 @@ def anim():
310
310
"You need to specify id to display or ask explicity all with --all option"
311
311
)
312
312
eddies = eddies .extract_ids (args .id )
313
- if args .first_centered :
314
- # TODO: include observatin class
315
- x0 = eddies .lon [0 ]
316
- eddies .lon [:] = (eddies .lon - x0 + 180 ) % 360 + x0 - 180
317
- eddies .contour_lon_e [:] = (
318
- (eddies .contour_lon_e .T - eddies .lon + 180 ) % 360 + eddies .lon - 180
319
- ).T
313
+ if args .first_centered :
314
+ # TODO: include to observation class
315
+ x0 = eddies .lon [0 ]
316
+ eddies .lon [:] = (eddies .lon - x0 + 180 ) % 360 + x0 - 180
317
+ eddies .contour_lon_e [:] = (
318
+ (eddies .contour_lon_e .T - eddies .lon + 180 ) % 360 + eddies .lon - 180
319
+ ).T
320
320
321
321
kw = dict ()
322
322
if args .mp4 :
You can’t perform that action at this time.
0 commit comments