Thanks to visit codestin.com
Credit goes to github.com

Skip to content

This script loads the .tsf file generated from the GWR superconducting relative gravimeter iGrav and converts them to the CSV format. The generated CSVs will also be cleaned up from errors, such as NaN-only rows or time jumps due to GPS connection

License

Notifications You must be signed in to change notification settings

lucamir/iGravToCSV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

24 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

CodeFactor License: MIT

iGrav .tsf to CSV Converter

This script loads .tsf files generated by the GWR superconducting relative gravimeter iGrav and converts them into clean .csv files.

The resulting CSVs are also cleaned of write errors commonly found in the original .tsf files, such as:

  • Rows with only NaN values
  • Time discontinuities caused by GPS disconnection

๐Ÿš€ Usage

Navigate to the script directory in your terminal and run main.py, passing two arguments:

  1. The path to the input folder containing the .tsf files
  2. The path to the output folder where the cleaned .csv files will be saved
python3 main.py ./input_folder ./output_folder

About

This script loads the .tsf file generated from the GWR superconducting relative gravimeter iGrav and converts them to the CSV format. The generated CSVs will also be cleaned up from errors, such as NaN-only rows or time jumps due to GPS connection

Topics

Resources

License

Stars

Watchers

Forks

Languages