Skip to content

NoisyAstronomer/Radio_Jove_SPD_to_CSV_and_events

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Radio_Jove_SPD_to_CSV_and_events

This code was developed for the University of Delaware Radio Jove program, by Victor Arriaza, for Dr. John Clem. Many thanks to David Daniels for providing helpful starter code for SPD conversion.

This code does two things

  1. Turns SPD files generated by Radio SkyPipe into CSV files
  2. Reads these CSV files and looks for events by comparing information from a Radio Jupiter Pro report file. The event data is then stored in a "_events" csv file.

How To Get Scripts Working On A New Computer

--- File_Reader.py ---

  1. Change ~line 13 or:
    os.chdir('C:\Users\spencer\AppData\Local\VirtualStore\Program Files (x86)\Radio-SkyPipe II\University_of_Delawa\'))
    directory path to inside the folder that holds the folders of year/month

  2. Change ~line 37 or:
    os.chdir('C:\Users\spencer\AppData\Local\VirtualStore\Program Files (x86)\Radio-SkyPipe II\University_of_Delawa\' + f_year_months)
    to have the same path as above and with + f_year_months

  3. Change ~line 45 or:
    os.chdir('C:\Users\spencer\AppData\Local\VirtualStore\Program Files (x86)\Radio-SkyPipe II\University_of_Delawa\' + f_year_months + '\' + file_name)
    to also have the same path + f_year_months + file_name

--- Prediction_Data_Reader.py ---

  1. On line ~294 or:
    os.chdir('C:\Users\spencer\AppData\Local\VirtualStore\Program Files (x86)\Radio-SkyPipe II\')
    change path to inside of folder that has the Radio Jupiuter Pro report

  2. Change ~line 297 or:
    pro_predictions = '2016-2020.txt'
    to have the name of the report file

--- SPD_Reader_Vic.py --- No Changes needed

To Start The Scripts Run File_Reader.py

If there are errors or problems please contact me here on github or at [email protected] and I will do my best to help.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%