Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

explain_-g_full.rst_ 2.6 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
  1. The **-g** option
  2. ^^^^^^^^^^^^^^^^^
  3. **Syntax**
  4. **-g**\ **x**\|\ **y**\|\ **z**\|\ **d**\|\ **X**\|\ **Y**\|\ **D**\ *gap*\ [**u**][**+a**][**+c**\ *col*][**+n**\|\ **p**]
  5. Examine the spacing between consecutive data points in order to impose breaks in the line.
  6. **Description**
  7. The **-g** option is used to detect gaps based on one or more criteria. Repeat the option to specify multiple criteria.
  8. A criterion is specified using one of the **x**\|\ **y**\|\ **z**\|\ **d**\|\ **X**\|\ **Y**\|\ **D** directives. The
  9. upper-case directives specify that the criterion should be applied to the projected coordinates for
  10. modules that map data to map coordinates.
  11. - **x**\|\ **X** - define a gap when there is a large enough change in the x coordinates (upper case to use
  12. projected coordinates).
  13. - **y**\|\ **Y** - define a gap when there is a large enough change in the y coordinates (upper case to use
  14. projected coordinates).
  15. - **z** - define a gap when there is a large enough change in the z data. Use **+c**\ *col* to change
  16. the z data column [Default *col* is 2 (i.e., 3rd column)].
  17. - **d**\|\ **D** - define a gap when there is a large enough distance between coordinates (upper case to use
  18. projected coordinates).
  19. A unit **u** may be appended to the specified *gap*:
  20. - For geographic data (**x**\|\ **y**\|\ **d**), the unit may be arc **d**\ (egree), **m**\ (inute), and **s**\ (econd),
  21. or (m)\ **e**\ (ter), **f**\ (eet), **k**\ (ilometer), **M**\ (iles), or **n**\ (autical miles) [Default is
  22. (m)\ **e**\ (ter)].
  23. - For projected data (**X**\|\ **Y**\|\ **D**), the unit may be **i**\ (nch), **c**\ (entimeter), or **p**\ (oint)
  24. [Default unit is set by :term:`PROJ_LENGTH_UNIT`].
  25. Append modifier **+a** to specify that *all* the criteria must be met [default imposes breaks if any one criterion is met].
  26. One of the following modifiers can be appended:
  27. - **+n** - specify that the previous value minus the current column value must exceed *gap* for a break to be imposed.
  28. - **+p** - specify that the current value minus the previous value must exceed *gap* for a break to be imposed.
  29. Default imposes breaks based on the absolute value of the difference between the current and previous value.
  30. **Note**: For **x**\|\ **y**\|\ **z** with time data the unit is instead controlled by :term:`TIME_UNIT`. **Note**: GMT
  31. has other mechanisms that can determine line segmentation, including segments defined by multiple segment header
  32. records (see the cookbook chapter :doc:`/cookbook/file-formats`) or segments defined by NaN values when
  33. :term:`IO_NAN_RECORDS` is set to *pass* [default skips NaN values].
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...