@@ -745,7 +745,7 @@ def load_from_zarr(
745745 :param bool raw_data: If true load data without scale_factor and add_offset
746746 :param None,list(str) remove_vars: List of variable name that will be not loaded
747747 :param None,list(str) include_vars: If defined only this variable will be loaded
748- :param None,dict indexs: Indexs to laod only a slice of data
748+ :param None,dict indexs: Indexes to load only a slice of data
749749 :param int buffer_size: Size of buffer used to load zarr data
750750 :param class_kwargs: argument to set up observations class
751751 :return: Obsevations selected
@@ -885,7 +885,7 @@ def load_from_netcdf(
885885 :param bool raw_data: If true load data without apply scale_factor and add_offset
886886 :param None,list(str) remove_vars: List of variable name which will be not loaded
887887 :param None,list(str) include_vars: If defined only this variable will be loaded
888- :param None,dict indexs: Indexs to laod only a slice of data
888+ :param None,dict indexs: Indexes to load only a slice of data
889889 :param class_kwargs: argument to set up observations class
890890 :return: Obsevations selected
891891 :return type: class
@@ -1054,7 +1054,7 @@ def propagate(
10541054 self , previous_obs , current_obs , obs_to_extend , dead_track , nb_next , model
10551055 ):
10561056 """
1057- Filled virtual obs (C).
1057+ Fill virtual obs (C).
10581058
10591059 :param previous_obs: previous obs from current (A)
10601060 :param current_obs: previous obs from virtual (B)
@@ -1166,7 +1166,7 @@ def re_reference_index(index, ref):
11661166 :param array,int index: local index to re ref
11671167 :param slice,array ref:
11681168 reference could be a slice in this case we juste add start to index
1169- or could be indexs and in this case we need to translate
1169+ or could be indexes and in this case we need to translate
11701170 """
11711171 if isinstance (ref , slice ):
11721172 return index + ref .start
@@ -1341,7 +1341,7 @@ def solve_simultaneous(cost):
13411341 eddies_merge = 1 < other_links
13421342 test = eddies_separation .any () or eddies_merge .any ()
13431343 if test :
1344- # We extract matrix that contains concflict
1344+ # We extract matrix that contains conflict
13451345 obs_linking_to_self = mask [eddies_separation ].any (axis = 0 )
13461346 obs_linking_to_other = mask [:, eddies_merge ].any (axis = 1 )
13471347 i_self_keep = where (obs_linking_to_other + eddies_separation )[0 ]
@@ -1370,7 +1370,7 @@ def solve_simultaneous(cost):
13701370 security_increment += 1
13711371 i_min_value = cost_reduce .argmin ()
13721372 i , j = floor (i_min_value / shape [1 ]).astype (int ), i_min_value % shape [1 ]
1373- # Set to False all link
1373+ # Set to False all links
13741374 mask [i_self_keep [i ]] = False
13751375 mask [:, i_other_keep [j ]] = False
13761376 cost_reduce .mask [i ] = True
0 commit comments