Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solar activity Data parser + extractor + data structure of A. Ronse + reader #24

Merged
merged 10 commits into from
Apr 5, 2016

Conversation

Reneh107
Copy link
Contributor

I copied the code of A. Ronse that provides a datastructure for solar activity data obtained from the file:

http://celestrak.com/SpaceData/sw19571001.txt

The files include a parser , extractor and a data structure called SolarActivityData and a unit test.

The parser parses the txt file and returns a:
tudat::input_output::parsed_data_vector_utilities::ParsedDataVectorPtr

The extractor extracts the data from ParsedDataVectorPtr and returns a type:
boost::shared_ptrtudat::input_output::solar_activity::SolarActivityData

Which is a pointer to the SolarActivityData structure

I updated the code such that it can be used in the current version of tudat and I added a function read the spaceweather file and return a datamap with keytype julian date and valuetype SolarActivityDataPtr. I also added a unit test to test the read function.

The function provides data that can be used in the NRLMSISE00 model.

Original tudat issue: http://tudat.tudelft.nl/issues/508

@DominicDirkx DominicDirkx merged commit 2b4ce59 into Tudat:master Apr 5, 2016
@gviavattene gviavattene mentioned this pull request Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants