test_magneticFieldWMMParser
- test_magneticFieldWMMParser.coefficient_lines()[source]
Return the shipped WMM coefficient file as individual lines.
- test_magneticFieldWMMParser.make_module(path)[source]
Configure a WMM module with a spacecraft above the equator.
- test_magneticFieldWMMParser.test_empty_model(tmp_path, coefficient_lines, header_only)[source]
An empty file or a header without coefficients is rejected.
- test_magneticFieldWMMParser.test_invalid_coefficient_record(tmp_path, coefficient_lines, record)[source]
Malformed fields and invalid indices fail during module reset.