Skip to content

Blank output from RinexConvertMeteorology when processing NMEA file #138

@semuadmin

Description

@semuadmin

Describe the bug

Blank output in RINEX meteorology file and following error:

Processing input file: /Users/steve/Library/CloudStorage/Dropbox/Development/workspace_vscode/pygnssutils/tests/pygpsdata_testmetdata.log
Traceback (most recent call last):
  File "/Users/steve/pygpsclient/lib/python3.14/site-packages/pygnssutils/rinex_conv_met.py", line 208, in convert_nmea_mwd
    epoch = self.__app.current_epoch
            ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'RinexConverter' object has no attribute 'current_epoch'. Did you mean: 'get_current_epoch'?

To Reproduce

Steps to reproduce the behaviour:

  1. Process /tests/pygpsdata_testmetdata.log file

Expected Behaviour

Successful processing with RINEX Meterology output e.g.

     3.05           M: METEOROLOGY      M: MIXED            RINEX VERSION / TYPE
PYRINEXCONV 0.1.0 ALSTEVE               20260512 075857 UTC PGM / RUN BY / DATE
                                                            MARKER NAME
                                                            MARKER TYPE
     4    WD    WS    PR    TD                              # / TYPES OF OBSERV
N/A                 NMEA MWD                        0    WD SENSOR MOD/TYPE/ACC
N/A                 NMEA MWD                        0    WS SENSOR MOD/TYPE/ACC
BP (PRESS)          NMEA XDR                      0.0    PR SENSOR MOD/TYPE/ACC
C (TEMP)            NMEA XDR                      0.0    TD SENSOR MOD/TYPE/ACC
        0.0000        0.0000        0.0000        0.0000    SENSOR POS XYZ/H
                                                            END OF HEADER
 2026 04 15 18 07 42  107.0    2.8 1023.0   29.2
 2026 04 15 18 22 42  171.8    7.7  920.0   46.0
 2026 04 15 18 37 42  121.4    5.9  814.0   31.2
 2026 04 15 18 52 42  172.0    4.0 1000.0   28.2
 2026 04 15 19 07 42  166.6    5.0  877.0    2.2
 2026 04 15 19 22 42  106.3    5.2 1066.0   20.4
 2026 04 15 19 37 42   94.3    5.2 1058.0   16.2
...

Desktop (please complete the following information):

  • Any plaform.

GNSS/GPS Device (please complete the following information as best you can):

  • Any device.

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions