@@ -177,6 +177,7 @@ def wrapper(*args, **kwargs):
177177 f" - ``daily`` : instantaneous data\n "
178178 f" - ``diurn`` : 5-sol averages binned by time of day\n "
179179 f" - ``average``: 5-sol averages\n "
180+ f"Works on 'fort.11' files only.\n "
180181 f"{ Green } Example:\n "
181182 f"> MarsFiles fort.11_* -bin fixed daily diurn average\n "
182183 f"> MarsFiles fort.11_* -bin fixed diurn"
@@ -187,7 +188,7 @@ def wrapper(*args, **kwargs):
187188parser .add_argument ('-c' , '--concatenate' , action = 'store_true' ,
188189 help = (
189190 f"Combine sequential files of the same type into one file.\n "
190- f"and `` diurn``) .\n "
191+ f"Works on 'daily', ' diurn', and 'average' files .\n "
191192 f"{ Green } Example:\n "
192193 f"> ls\n "
193194 f"00334.atmos_average.nc 00668.atmos_average.nc\n "
@@ -214,6 +215,7 @@ def wrapper(*args, **kwargs):
214215 f"Defaults to ``areo`` (Ls) unless otherwise specified using "
215216 f"-dim.\n If a file contains multiple Mars Years of data, the "
216217 f"function splits the file in the first Mars Year.\n "
218+ f"Works on 'daily', 'diurn', and 'average' files.\n "
217219 f"{ Green } Example:\n "
218220 f"> MarsFiles 01336.atmos_average.nc --split 0 90\n "
219221 f"> MarsFiles 01336.atmos_average.nc --split 270\n "
@@ -232,6 +234,7 @@ def wrapper(*args, **kwargs):
232234 f"time.\n Useful for comparing data at a specific time of day "
233235 f"across all longitudes.\n Works on vertically interpolated "
234236 f"files.\n "
237+ f"Works on 'diurn' files only.\n "
235238 f"{ Yellow } Generates a new file ending in ``_T.nc``{ Nclr } \n "
236239 f"{ Green } Example:\n "
237240 f"> MarsFiles 01336.atmos_diurn.nc -t"
@@ -253,7 +256,7 @@ def wrapper(*args, **kwargs):
253256 f"{ Yellow } Generates a new file ending in ``_to_average.nc``\n "
254257 f"{ Green } Example:\n "
255258 f"> MarsFiles 01336.atmos_daily.nc -ba { Blue } (5-sol bin){ Green } \n "
256- f"> MarsFiles 01336.atmos_daily_pstd .nc -ba 10 { Blue } (10-sol bin)"
259+ f"> MarsFiles 01336.atmos_daily .nc -ba 10 { Blue } (10-sol bin)"
257260 f"{ Nclr } \n \n "
258261 )
259262)
@@ -270,9 +273,9 @@ def wrapper(*args, **kwargs):
270273 f"{ Yellow } Generates a new file ending in ``_to_diurn.nc``\n "
271274 f"{ Green } Example:\n "
272275 f"> MarsFiles 01336.atmos_daily.nc -bd { Blue } (5-sol bin){ Green } \n "
273- f"> MarsFiles 01336.atmos_daily_pstd .nc -bd -ba 10 "
276+ f"> MarsFiles 01336.atmos_daily .nc -bd -ba 10 "
274277 f"{ Blue } (10-sol bin){ Green } \n "
275- f"> MarsFiles 01336.atmos_daily_pstd .nc -bd -ba 1 "
278+ f"> MarsFiles 01336.atmos_daily .nc -bd -ba 1 "
276279 f"{ Blue } (no binning, mimics raw Legacy output)"
277280 f"{ Nclr } \n \n "
278281 )
@@ -284,9 +287,9 @@ def wrapper(*args, **kwargs):
284287 nargs = '+' , type = float ,
285288 help = (
286289 f"Temporal high-pass filtering: removes low-frequencies \n "
287- f"Only works with 'daily' or 'average' files. Requires a cutoff frequency "
288- f"in Sols.\n "
289- f"Data is detrended before filtering. Use ``-- add_trend`` \n "
290+ f"Only works with 'daily' or 'average' files. Requires a cutoff "
291+ f"frequency in Sols.\n "
292+ f"Data is detrended before filtering. Use ``-add_trend`` \n "
290293 f"to add the original linear trend to the amplitudes \n "
291294 f"\n { Yellow } Generates a new file ending in ``_hpt.nc``\n "
292295 f"{ Green } Example:\n "
@@ -301,9 +304,9 @@ def wrapper(*args, **kwargs):
301304 nargs = '+' , type = float ,
302305 help = (
303306 f"Temporal low-pass filtering: removes high-frequencies \n "
304- f"Only works with 'daily' or 'average' files. Requires a cutoff frequency "
305- f"in Sols.\n "
306- f"Data is detrended before filtering. Use ``-- add_trend`` \n "
307+ f"Only works with 'daily' or 'average' files. Requires a cutoff "
308+ f"frequency in Sols.\n "
309+ f"Data is detrended before filtering. Use ``-add_trend`` \n "
307310 f"to add the original linear trend to the amplitudes \n "
308311 f"\n { Yellow } Generates a new file ending in ``_lpt.nc``\n "
309312 f"{ Green } Example:\n "
@@ -320,7 +323,7 @@ def wrapper(*args, **kwargs):
320323 f"Temporal band-pass filtering"
321324 f"specified by user.\n Only works with 'daily' or 'average' "
322325 f"files. Requires two cutoff frequencies in Sols.\n "
323- f"Data is detrended before filtering. Use ``-- add_trend`` \n "
326+ f"Data is detrended before filtering. Use ``-add_trend`` \n "
324327 f"to add the original linear trend to the amplitudes \n "
325328 f"\n { Yellow } Generates a new file ending in ``bpt.nc``\n "
326329 f"{ Green } Example:\n "
@@ -340,7 +343,7 @@ def wrapper(*args, **kwargs):
340343 f"in Sols.\n "
341344 f"{ Yellow } Generates a new file ending in ``_hps.nc``\n "
342345 f"{ Green } Example:\n "
343- f"> MarsFiles 01336.atmos_daily.nc -hps 10 -- add_trend\n "
346+ f"> MarsFiles 01336.atmos_daily.nc -hps 10 -add_trend\n "
344347 f"{ Nclr } \n \n "
345348 )
346349)
@@ -355,7 +358,7 @@ def wrapper(*args, **kwargs):
355358 f"cutoff frequency in Sols.\n "
356359 f"{ Yellow } Generates a new file ending in ``_lps.nc``\n "
357360 f"{ Green } Example:\n "
358- f"> MarsFiles 01336.atmos_daily.nc -lps 20 -- add_trend\n "
361+ f"> MarsFiles 01336.atmos_daily.nc -lps 20 -add_trend\n "
359362 f"{ Nclr } \n \n "
360363 )
361364)
@@ -370,7 +373,7 @@ def wrapper(*args, **kwargs):
370373 f"cutoff frequency in Sols.\n Data detrended before filtering.\n "
371374 f"{ Yellow } Generates a new file ending in ``_bps.nc``\n "
372375 f"{ Green } Example:\n "
373- f"> MarsFiles 01336.atmos_daily.nc -bps 10 20 -- add_trend\n "
376+ f"> MarsFiles 01336.atmos_daily.nc -bps 10 20 -add_trend\n "
374377 f"{ Nclr } \n \n "
375378 )
376379)
@@ -384,6 +387,7 @@ def wrapper(*args, **kwargs):
384387 f"harmonics.\n Only works with 'diurn' files.\n Returns the phase "
385388 f"and amplitude of the variable.\n "
386389 f"N = 1 diurnal tide, N = 2 semi-diurnal, etc.\n "
390+ f"Works on 'diurn' files only.\n "
387391 f"{ Yellow } Generates a new file ending in ``_tide_decomp.nc``\n "
388392 f"{ Green } Example:\n "
389393 f"> MarsFiles 01336.atmos_diurn.nc -tide 2 -incl ps temp\n "
@@ -402,6 +406,7 @@ def wrapper(*args, **kwargs):
402406 f"user-provided source file.\n Both files must have the same "
403407 f"vertical dimensions (i.e., should be vertically\n interpolated "
404408 f"to the same standard grid [zstd, zagl, pstd, etc.].\n "
409+ f"Works on 'daily', 'diurn', and 'average' files.\n "
405410 f"{ Yellow } Generates a new file ending in ``_regrid.nc``\n "
406411 f"{ Green } Example:\n "
407412 f"> MarsFiles 01336.atmos_average_pstd.nc -regrid "
@@ -421,6 +426,7 @@ def wrapper(*args, **kwargs):
421426 f"Zonally average the entire file over the longitudinal "
422427 f"dimension.\n Does not work if the longitude dimension has "
423428 f"length <= 1.\n "
429+ f"Works on 'daily', 'diurn', and 'average' files.\n "
424430 f"{ Yellow } Generates a new file ending in ``_zavg.nc``\n "
425431 f"{ Green } Example:\n "
426432 "> MarsFiles 01336.atmos_diurn.nc -zavg"
@@ -435,6 +441,7 @@ def wrapper(*args, **kwargs):
435441 f"Must be used with [-split --split]. Flag indicates the "
436442 f"dimension on which to trim the file.\n Acceptable values are "
437443 f"'areo', 'lev', 'lat', 'lon'. Default = 'areo'.\n "
444+ f"Works on 'daily', 'diurn', and 'average' files.\n "
438445 f"{ Green } Example:\n "
439446 f"> MarsFiles 01336.atmos_average.nc --split 0 90 -dim areo\n "
440447 f"> MarsFiles 01336.atmos_average.nc --split -70 -dim lat"
@@ -450,6 +457,7 @@ def wrapper(*args, **kwargs):
450457 f"For use with ``-tide``: Returns the result in percent "
451458 f"amplitude.\n "
452459 f"N = 1 diurnal tide, N = 2 semi-diurnal, etc.\n "
460+ f"Works on 'diurn' files only.\n "
453461 f"{ Yellow } Generates a new file ending in ``_norm.nc``\n "
454462 f"{ Green } Example:\n "
455463 f"> MarsFiles 01336.atmos_diurn.nc -tide 6 -incl ps "
@@ -482,6 +490,7 @@ def wrapper(*args, **kwargs):
482490 nargs = 0 ,
483491 help = (
484492 f"Reconstructs the first N harmonics.\n "
493+ f"Works on 'diurn' files only.\n "
485494 f"{ Yellow } Generates a new file ending in ``_reconstruct.nc``\n "
486495 f"{ Green } Example:\n "
487496 f"> MarsFiles 01336.atmos_diurn.nc -tide 6 -incl ps temp "
@@ -495,8 +504,7 @@ def wrapper(*args, **kwargs):
495504 f"Flag to use only the variables specified in a calculation.\n "
496505 f"All dimensional and 1D variables are ported to the new file "
497506 f"automatically.\n "
498- f"{ Yellow } Overwrites existing target file. To override, use "
499- f"-ext.{ Nclr } \n "
507+ f"Works on 'daily', 'diurn', and 'average' files.\n "
500508 f"{ Green } Example:\n "
501509 f"> MarsFiles 01336.atmos_daily.nc -ba -incl ps temp ts"
502510 f"{ Nclr } \n \n "
@@ -510,8 +518,8 @@ def wrapper(*args, **kwargs):
510518 f"CAP to create a new file with the extension name specified "
511519 f"here.\n "
512520 f"{ Green } Example:\n "
513- f"> MarsFiles 00334 .atmos_average.nc -c -ext _comb \n "
514- f"{ Blue } (Produces 00334.atmos_average_comb .nc and "
521+ f"> MarsFiles 01336 .atmos_average.nc -c -ext _my_concat \n "
522+ f"{ Blue } (Produces 01336.atmos_average_my_concat .nc and "
515523 f"preserves all other files)"
516524 f"{ Nclr } \n \n "
517525 )
0 commit comments