C library
Introduction
This is the documentation that describes the Application Programmers Interface (API) for the HARP C Library. It contains a full description for each of the functions in the API and a general description for each of the modules mentioned below.
Modules
Each module has a separate section that contains its general description together with descriptions for all types, variables, functions, etc. that are part of this module.
The main modules are those for HARP Products and Variables, as these cover the main datastructures for the content of products. Most operations in HARP work in these Products and Variables.
- Collocation
harp_collocation_pairharp_collocation_resultharp_collocation_result_new()harp_collocation_result_delete()harp_collocation_result_sort_by_a()harp_collocation_result_sort_by_b()harp_collocation_result_sort_by_collocation_index()harp_collocation_result_filter_for_source_product_a()harp_collocation_result_filter_for_source_product_b()harp_collocation_result_filter_for_collocation_indices()harp_collocation_result_add_pair()harp_collocation_result_remove_pair_at_index()harp_collocation_result_read()harp_collocation_result_write()harp_collocation_result_swap_datasets()harp_collocation_pair_structharp_collocation_result_struct
- Dataset
- Documentation
- Error
- General
harp_data_typeharp_scalarharp_arrayharp_dimension_typeharp_data_type_enumharp_dimension_type_enumharp_set_udunits2_xml_path()harp_set_udunits2_xml_path_conditional()harp_convert_unit()harp_basename()harp_get_data_type_name()harp_get_size_for_type()harp_get_fill_value_for_type()harp_get_valid_min_for_type()harp_get_valid_max_for_type()harp_is_fill_value_for_type()harp_is_valid_min_for_type()harp_is_valid_max_for_type()harp_isfinite()harp_isnan()harp_nan()harp_isinf()harp_isplusinf()harp_ismininf()harp_plusinf()harp_mininf()harp_set_coda_definition_path()harp_set_coda_definition_path_conditional()harp_set_option_create_collocation_datetime()harp_get_option_create_collocation_datetime()harp_set_option_enable_aux_afgl86()harp_get_option_enable_aux_afgl86()harp_set_option_enable_aux_usstd76()harp_get_option_enable_aux_usstd76()harp_set_option_hdf5_compression()harp_get_option_hdf5_compression()harp_set_option_propagate_uncertainty()harp_get_option_propagate_uncertainty()harp_set_option_regrid_out_of_bounds()harp_get_option_regrid_out_of_bounds()harp_init()harp_done()harp_scalar_unionharp_array_union
- Geometry
- Product
harp_productharp_product_bin()harp_product_bin_spatial()harp_product_get_derived_variable()harp_product_add_derived_variable()harp_product_new()harp_product_delete()harp_product_copy()harp_product_append()harp_product_set_source_product()harp_product_set_history()harp_product_add_variable()harp_product_detach_variable()harp_product_remove_variable()harp_product_remove_variable_by_name()harp_product_replace_variable()harp_product_has_variable()harp_product_get_variable_by_name()harp_product_get_variable_index_by_name()harp_product_is_empty()harp_product_update_history()harp_product_verify()harp_product_print()harp_product_flatten_dimension()harp_product_sort()harp_product_execute_operations()harp_product_rebin_with_axis_bounds_variable()harp_product_regrid_with_axis_variable()harp_product_regrid_with_collocated_product()harp_product_regrid_with_collocated_dataset()harp_product_smooth_vertical_with_collocated_product()harp_product_smooth_vertical_with_collocated_dataset()harp_product_get_smoothed_column()harp_product_get_smoothed_column_using_collocated_product()harp_product_get_smoothed_column_using_collocated_dataset()harp_import()harp_import_test()harp_import_product_metadata()harp_export()harp_product_struct
- Product Metadata
- Variable
harp_variableharp_variable_convert_unit()harp_variable_new()harp_variable_delete()harp_variable_copy()harp_variable_copy_attributes()harp_variable_append()harp_variable_rename()harp_variable_set_unit()harp_variable_set_description()harp_variable_set_enumeration_values()harp_variable_set_string_data_element()harp_variable_convert_data_type()harp_variable_has_dimension_type()harp_variable_has_dimension_types()harp_variable_has_unit()harp_variable_verify()harp_variable_print()harp_variable_print_data()harp_variable_smooth_vertical()harp_variable_struct