1010
1111
1212def combine_features ():
13- '''
13+ """
1414 Entry point for combining features from a file
15- '''
15+ """
1616 parser = argparse .ArgumentParser (
1717 description = __doc__ , formatter_class = argparse .RawTextHelpFormatter )
1818 parser .add_argument ("-f" , "--feature_file" , dest = "feature_file" ,
@@ -39,9 +39,9 @@ def combine_features():
3939
4040
4141def difference_features ():
42- '''
42+ """
4343 Entry point for differencing features from a file
44- '''
44+ """
4545 parser = argparse .ArgumentParser (
4646 description = __doc__ , formatter_class = argparse .RawTextHelpFormatter )
4747 parser .add_argument ("-f" , "--feature_file" , dest = "feature_file" ,
@@ -70,9 +70,9 @@ def difference_features():
7070
7171
7272def fix_features_at_antimeridian ():
73- '''
73+ """
7474 Entry point for splitting features that cross +/- 180 degrees
75- '''
75+ """
7676 parser = argparse .ArgumentParser (
7777 description = __doc__ , formatter_class = argparse .RawTextHelpFormatter )
7878 parser .add_argument ("-f" , "--feature_file" , dest = "feature_file" ,
@@ -95,9 +95,9 @@ def fix_features_at_antimeridian():
9595
9696
9797def merge_features ():
98- '''
98+ """
9999 Entry point for merging features from the geometric_data cache
100- '''
100+ """
101101 parser = argparse .ArgumentParser (
102102 description = __doc__ , formatter_class = argparse .RawTextHelpFormatter )
103103 parser .add_argument ("-f" , "--feature_file" , dest = "feature_file" ,
@@ -106,7 +106,7 @@ def merge_features():
106106 metavar = "FILE" )
107107 parser .add_argument ("-c" , "--component" , dest = "component" ,
108108 help = "The component (ocean, landice, etc.) from which "
109- "to retieve the geometric features" ,
109+ "to retrieve the geometric features" ,
110110 metavar = "COMP" )
111111 parser .add_argument ("-b" , "--object_type" , dest = "object_type" ,
112112 help = "The type of geometry to load, a point (0D), "
@@ -154,9 +154,9 @@ def merge_features():
154154
155155
156156def plot_features ():
157- '''
157+ """
158158 Entry point for plotting features from a file
159- '''
159+ """
160160
161161 parser = argparse .ArgumentParser (
162162 description = __doc__ , formatter_class = argparse .RawTextHelpFormatter )
@@ -202,9 +202,9 @@ def plot_features():
202202
203203
204204def set_group_name ():
205- '''
205+ """
206206 Set the group name of the feature collection
207- '''
207+ """
208208 parser = argparse .ArgumentParser (
209209 description = __doc__ , formatter_class = argparse .RawTextHelpFormatter )
210210 parser .add_argument ("-f" , "--feature_file" , dest = "feature_file" ,
@@ -228,9 +228,9 @@ def set_group_name():
228228
229229
230230def simplify_features ():
231- '''
231+ """
232232 Features in the collection are simplified using ``shapely``
233- '''
233+ """
234234 parser = argparse .ArgumentParser (
235235 description = __doc__ , formatter_class = argparse .RawTextHelpFormatter )
236236 parser .add_argument ("-f" , "--feature_file" , dest = "feature_file" ,
@@ -239,7 +239,7 @@ def simplify_features():
239239 parser .add_argument ("-t" , "--tolerance" , dest = "tolerance" , type = float ,
240240 default = 0.0 ,
241241 help = "A distance in deg lon/lat by which each point "
242- "in a feature can be moved during simpification " ,
242+ "in a feature can be moved during simplification " ,
243243 metavar = "TOLERANCE" )
244244 parser .add_argument ("-o" , "--output" , dest = "output_file_name" ,
245245 help = "Output file, e.g., features.geojson." ,
@@ -257,10 +257,10 @@ def simplify_features():
257257
258258
259259def split_features ():
260- '''
260+ """
261261 Features in the collection are split into individual files in the
262262 geometric_data cache
263- '''
263+ """
264264 parser = argparse .ArgumentParser (
265265 description = __doc__ , formatter_class = argparse .RawTextHelpFormatter )
266266 parser .add_argument ("-f" , "--feature_file" , dest = "feature_file" ,
@@ -283,9 +283,9 @@ def split_features():
283283
284284
285285def tag_features ():
286- '''
286+ """
287287 Features in the collection are tagged with the given tag(s)
288- '''
288+ """
289289 parser = argparse .ArgumentParser (
290290 description = __doc__ , formatter_class = argparse .RawTextHelpFormatter )
291291 parser .add_argument ("-f" , "--feature_file" , dest = "feature_file" ,
0 commit comments