-
Notifications
You must be signed in to change notification settings - Fork 20
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
introduce ionex2kml tool #119
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Guillaume W. Bres <[email protected]>
Signed-off-by: Guillaume W. Bres <[email protected]>
======================== | ||
|
||
When converting to KML, we round the TEC values and shrink it to N equipotential areas. | ||
In other words, the granularity on the TEC visualization you get is max|tec|/N where max|tec| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/writing-mathematical-expressions might make this easier to read.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know if we can use latex like equations in docrs too ? At the time I looked at it, there was a tweak involving storing html pages if I remember correctly, seemd too complicated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Self { | ||
matches: { | ||
Command::new("ionex2kml") | ||
.author("Guillaume W. Bres, <[email protected]>") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Returns optional <String, String> "KML attributes" | ||
pub fn kml_attributes(&self) -> Option<HashMap<String, String>> { | ||
if let Some(attributes) = self.matches.get_one::<String>("attributes") { | ||
let content: Vec<&str> = attributes.split(",").collect(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't matter, but this isn't a great way to write this.
Co-authored-by: Laurențiu Nicola <[email protected]>
Signed-off-by: Guillaume W. Bres <[email protected]>
Introduce
ionex2kml
command line tool, to convert IONEX data to KML format.KML files can be visualized with many third party tools and that offers another option to visualize IONEX.
KML supports the description of bounded areas, so we can totally describe TEC iso surfaces as contained in IONEX