File: tle.yaml

package info (click to toggle)
pyorbital 1.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 664 kB
  • sloc: python: 3,676; makefile: 89; javascript: 6
file content (68 lines) | stat: -rw-r--r-- 2,298 bytes parent folder | download | duplicates (3)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Settings for the TLE dataset
database:
  # Path to the dataset where all the data are saved.
  path: /tmp/tle.db

text_writer:
  # Directory to save to. Created if missing.
  output_dir: "/tmp/%Y-%m"
  # Pattern of the filenames to write.
  filename_pattern: "tle_%Y%m%d_%H%M.txt"
  # Write the platform name before the TLE data. Default: False.
  write_name: False
  # Write the text file after every invocation. Default: False
  write_always: False

platforms:
  # Satellite NORAD ID numbers and corresponding platform names
  # Only IDs listed here will be added to database and saved to text files
  25338: NOAA-15
  28654: NOAA-18
  33591: NOAA-19
  37849: Suomi-NPP
  43013: NOAA-20
  29499: Metop-A
  38771: Metop-B
  43689: Metop-C

downloaders:
  fetch_plain_tle:
    eumetsat:  # This is a name used for the source in logs
      - http://oiswww.eumetsat.int/metopTLEs/html/data_out/latest_m02_tle.txt
      - http://oiswww.eumetsat.int/metopTLEs/html/data_out/latest_m01_tle.txt
      - http://oiswww.eumetsat.int/metopTLEs/html/data_out/latest_m03_tle.txt
      - http://oiswww.eumetsat.int/metopTLEs/html/data_out/latest_n15_tle.txt
      - http://oiswww.eumetsat.int/metopTLEs/html/data_out/latest_n18_tle.txt
      - http://oiswww.eumetsat.int/metopTLEs/html/data_out/latest_n19_tle.txt
      - http://oiswww.eumetsat.int/metopTLEs/html/data_out/latest_npp_tle.txt
    celestrak:  # This is a name used for the source in logs
      - https://www.celestrak.com/NORAD/elements/weather.txt
  fetch_spacetrack:
    user: <username>
    password: <password>
  read_xml_admin_messages:
    # Direct reception data from Metop satellites have Eumetsat admin messages in them.  This can be used
    #   to read the TLEs from the XML variants
    paths:
      - /path/to/xml/admin/messages/*ADMIN_MESSAGE*xml
  read_tle_files:
    # For "kickstarting" the database, local files can also be added
    paths:
      - /path/to/a/file/tle.txt
      - /path/to/many/files/tle*.txt

logging:
  version: 1
  formatters:
    fmt:
      format: '[%(asctime)s %(levelname)-8s %(name)s] %(message)s'
  handlers:
    console:
      class: logging.StreamHandler
      level: DEBUG
      formatter: fmt
      # stream: ext://sys.stdout
  root:
    level: DEBUG
    propagate: false
    handlers: [console]