ctdam package¶
Subpackages¶
- ctdam.conv package
- Submodules
- ctdam.conv.cast_borders module
- ctdam.conv.hexdecoder module
- ctdam.conv.parameter_mapping module
ParameterMappingParameterMapping.extract_coefficients()ParameterMapping.locate_sensor_data()ParameterMapping.create_parameter()ParameterMapping.convert_freq_temperature()ParameterMapping.convert_temperature()ParameterMapping.convert_pressure()ParameterMapping.convert_conductivity()ParameterMapping.convert_salinity()ParameterMapping.convert_sbe43_oxygen()ParameterMapping.convert_oxygen()ParameterMapping.convert_oxygen_pyro_science()ParameterMapping.map_metadata()
- Module contents
- ctdam.parser package
- Submodules
- ctdam.parser.bottlefile module
- ctdam.parser.bottlelogfile module
- ctdam.parser.cnvfile module
CnvFileCnvFile.create_dataframe()CnvFile.absolute_time_calculation()CnvFile.add_start_time()CnvFile.get_processing_step_infos()CnvFile.df2cnv()CnvFile.array2cnv()CnvFile.to_cnv()CnvFile.to_ctd_data()CnvFile.add_processing_metadata()CnvFile.add_station_and_event_column()CnvFile.add_position_columns()CnvFile.add_cast_number()
- ctdam.parser.ctddata module
- ctdam.parser.datafiles module
- ctdam.parser.file_collection module
get_collection()FileCollectionFileCollection.extract_file_type()FileCollection.collect_files()FileCollection.load_files()FileCollection.get_dataframes()FileCollection.get_collection_dataframe()FileCollection.tidy_collection_dataframe()FileCollection.use_bad_flag_for_nan()FileCollection.set_dtype_to_float()FileCollection.select_real_scan_data()FileCollection.to_csv()
CnvCollectionHexCollection
- ctdam.parser.geomar_ctd_file_parser module
- ctdam.parser.hexfile module
- ctdam.parser.parameter module
ParametersParameters.get_param_types()Parameters.get_data_length()Parameters.get_full_data_array()Parameters.get_names()Parameters.get_metadata()Parameters.get_parameter_list()Parameters.set_sample_rate()Parameters.get_sample_rate()Parameters.create_full_ndarray()Parameters.sort_parameters()Parameters.create_parameter_instances()Parameters.add_parameter()Parameters.create_parameter()Parameters.add_default_metadata()Parameters.update_spans()Parameters.get_spans()Parameters.get_pandas_dataframe()Parameters.with_name_type()Parameters.reading_data_header()
Parameter
- ctdam.parser.processing_steps module
- ctdam.parser.xmlfiles module
- Module contents
- ctdam.proc package
- Subpackages
- Submodules
- ctdam.proc.module module
- ctdam.proc.procedure module
ProcedureProcedure.run()Procedure.load_config()Procedure.check_config_entry()Procedure.is_seabird_module()Procedure.create_seabird_module()Procedure.create_seabird_step()Procedure.convert()Procedure.new_file_path()Procedure.go()Procedure.procedure_fingerprint()Procedure.handle_fill_type_dir_creation()
- ctdam.proc.settings module
- ctdam.proc.utils module
- Module contents
- ctdam.vis package
Submodules¶
ctdam.utils module¶
- ctdam.utils.read_event_name(station_string, regex_string='(?P<c>[a-z]{1,3}\\\\d{1,3})(-|_|\\\\/)?(?P<cn>1|2)?(-|_)(?P<s>\\\\d{1,4})(-|_)(?P<e>\\\\d{1,2})')[source]¶
- Return type:
Tuple[str,str]
- ctdam.utils.create_event_string(cruise, station_event, leading_zeroes=True)[source]¶
- Return type:
str
- ctdam.utils.get_unique_sensor_data(sensor_data)[source]¶
Returns all the unique sensors and their configuration used in the given collection of sensor data. These will typically be parsed from xml inside .cnv or .xmlcon files. If for example, the first oxygen sensor has been replaced after the 8 cast, then we will see that in the output structure by a seconde tuple, with the number 8 and the individual sensor information for that new oxygen sensor.
- Parameters:
sensor_data (
list[list[dict]]) – The structure of xml-parsed dicts inside two organizing lists.- Return type:
list[tuple[list[dict]]]- Returns:
The input structure stripped down to unique sensor data and appended by
the index, at which this new sensor appeared the first time.