NorDB¶
This is the command line tool of the whole program. The command line tool is created with python library Click and that’s why its functions are not usable in same way compared to the others. If you have installed the Library correctly, you can use the command line tool by typing nordb into your terminal.
-
docstring_formatter(*sub)¶ Helper function for formatting docstring via decorator.
-
update_station_ontimes(verbose, test_run)¶ This command updates station on- and off-times based on sitechan information.
On-time will be min( current on-time, min( site-chan-on-time )).
Off-time will be max( current on-time, max( site-chan-on-time )) or remains empty if station is still in operation based on metadata.
n.b! This is redundant if sitechan data has been generated instead of inserted.