Skip to content
Snippets Groups Projects

make_iaga app and BIQParserFactory

The major changes of this merge request include:

  1. make_iaga.py:
  •   Converts BIQ QD file to stream
  •   Pulls observatory metadata from webservice and adds to stream
  •   Splits stream by days then writes IAGA min files
  1. BIQParserFactory.py:
  •   Makes BIQ class with fields based on Geomag BIQ QD file
  •   converts BIQ data to ObsPy Stream 
  1. Some changes to IAGA2002Writer.py:
  •   Added a function to trim a stream to 4 channels
  •   Added try and if statements to deal with how different versions of Python write bytes or str (more info found in Jeremey's Controller_test which was initially failing).

I have tested this pretty thoroughly and it works as intended, but I will also test it against Duff's program during the next round of QD uploads to compare any differences in headers/numbers and whether or not they are acceptable.

The only major problems I foresee in the future is if the webservice is down or if the observatory metadata is incorrect based on bad user input in the new GeomagOperations app.

Adding @bgeels since I cannot add multiple reviewers.

Edited by Wernle, Alexandra Nicole

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading