gmn_python_api.meteor_trajectory_schema#

This module contains functions for handling the current meteor trajectory data schema.

Module Contents#

Functions#

get_column_names([output_camel_case])

Get the column names of the current supported meteor trajectory schema.

get_model_meteor_trajectory_dataframe([output_camel_case])

Get the current supported model meteor trajectory file as a DataFrame.

get_verbose_camel_case_column_name_bidict()

Get a bidirectional dictionary that maps the verbose and camel case column names.

Attributes#

SCHEMA_VERSION

The supported meteor trajectory data format version.

_MODEL_METEOR_TRAJECTORY_FILE_PATH

Model meteor trajectory file, full size.

_MODEL_METEOR_TRAJECTORY_FILE_ONE_ROW_PATH

Model meteor trajectory file, just one data row.

gmn_python_api.meteor_trajectory_schema.SCHEMA_VERSION = '1.0'#

The supported meteor trajectory data format version.

gmn_python_api.meteor_trajectory_schema._MODEL_METEOR_TRAJECTORY_FILE_PATH#

Model meteor trajectory file, full size.

gmn_python_api.meteor_trajectory_schema._MODEL_METEOR_TRAJECTORY_FILE_ONE_ROW_PATH#

Model meteor trajectory file, just one data row.

gmn_python_api.meteor_trajectory_schema.get_column_names(output_camel_case=False)#

Get the column names of the current supported meteor trajectory schema.

Parameters:

output_camel_case (bool) – Whether to return the column names in camel case or verbose

Returns:

The column names of the current supported meteor trajectory model.

Return type:

List[str]

gmn_python_api.meteor_trajectory_schema.get_model_meteor_trajectory_dataframe(output_camel_case=False)#

Get the current supported model meteor trajectory file as a DataFrame.

Parameters:

output_camel_case (bool) – Whether to return the column names in camel case or verbose

Returns:

The model meteor trajectory file as a DataFrame.

Return type:

pandas.DataFrame

gmn_python_api.meteor_trajectory_schema.get_verbose_camel_case_column_name_bidict()#

Get a bidirectional dictionary that maps the verbose and camel case column names.

Returns:

A bidirectional dictionary that maps the verbose and camel case column names.

Return type:

Dict[str, str]