write_reference_curve_name_mapping

petrophys.reporting.write_reference_curve_name_mapping

write_reference_curve_name_mapping(output_dir, file_name='curve_name_mapping.json')[source]

Write the mapping between the export curve names and the reference delivery names.

The JSON file lists the curves whose exported mnemonic differs from the reference deliveries (for example SXO, SWXO there), the method-specific reference names, explicit replacements and the key curves whose names are the same, so that consumers of the reference deliveries can match curves.

Parameters:
  • output_dir (str or Path) – Folder for the file; created if needed.

  • file_name (str, default "curve_name_mapping.json") – Name of the file.

Returns:

The file written.

Return type:

Path