5.4.2.10.1. gemini_interface.blueprint.app_wellintegrity_monitoring.routes

Well Integrity Monitoring Application Routes.


This module handles well integrity assessment and monitoring functionality including caliper log processing, corrosion analysis, and well integrity assessment.

Functions

generate_schematic_image()

Proxy route to generate a well schematic image from external backend API (http://185.92.222.87:8001/generate).

generate_schematic_image_with_barriers()

Single-call endpoint: generate schematic, optionally apply barrier colors server-side (one request from frontend, 1–2 calls to schematic server).

get_annulus_information()

Get annulus information from the external API by ending schematic JSON with return_annulus_information=True.

get_corrosion_rate_from_logs()

Compute corrosion rate from processed logs (saved JSONs) and return for display in the panel.

get_log_dates()

Get saved log dates for the selected well (from processed_logs/log_dates.json).

get_log_list()

Get list of available logs for the selected well.

get_log_status()

Get the processing status of logs for the selected well.

get_measured_tags()

Get measured tags from the selected unit for monitoring.

get_processing_results()

Get the results of the caliper logs processing task.

get_saved_schematics()

Get list of saved well schematics for the selected well (WIMS card schematic selector).

get_tag_data()

Get data for a specific tag from the application using real database functionality.

get_tally_list()

Get a list of available well tally files for the selected well.

get_well_list()

Get list of wells for well integrity monitoring.

load_monitors()

Load monitor configurations for a specific well and schematic.

load_plant()

Load a plant into the well integrity monitoring application instance.

load_processed_logs()

Load previously processed logs from saved JSON files.

load_schematic()

Load a specific integrity schematic file for the selected well.

load_wims_panel()

Load WIMS panel state for the selected well and schematic.

process_caliper_logs()

Start processing selected caliper logs using Celery task.

save_corrosion_limits()

Save minimum remaining thickness [mm] into processed_logs/log_dates.json.

save_log_dates()

Save log name -> date (YYYY-MM-DD) into processed_logs/log_dates.json.

save_monitors()

Save monitor configurations for a specific well and schematic.

save_wims_panel()

Save WIMS panel state (overall status, last update date, barrier elements) for the selected well and schematic.

upload_log()

Upload a log file to the calipers folder for the selected well.

upload_tally()

Upload a well tally file to the tally folder for the selected well.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.generate_schematic_image()[source]

Proxy route to generate a well schematic image from external backend API (http://185.92.222.87:8001/generate). Also requests annulus information in the same call (return_annulus_information=True).

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.generate_schematic_image_with_barriers()[source]

Single-call endpoint: generate schematic, optionally apply barrier colors server-side (one request from frontend, 1–2 calls to schematic server).

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.get_annulus_information()[source]

Get annulus information from the external API by ending schematic JSON with return_annulus_information=True.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.get_corrosion_rate_from_logs()[source]

Compute corrosion rate from processed logs (saved JSONs) and return for display in the panel.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.get_log_dates()[source]

Get saved log dates for the selected well (from processed_logs/log_dates.json).

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.get_log_list()[source]

Get list of available logs for the selected well.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.get_log_status()[source]

Get the processing status of logs for the selected well.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.get_measured_tags()[source]

Get measured tags from the selected unit for monitoring.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.get_processing_results()[source]

Get the results of the caliper logs processing task.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.get_saved_schematics()[source]

Get list of saved well schematics for the selected well (WIMS card schematic selector).

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.get_tag_data()[source]

Get data for a specific tag from the application using real database functionality.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.get_tally_list()[source]

Get a list of available well tally files for the selected well.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.get_well_list()[source]

Get list of wells for well integrity monitoring.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.load_monitors()[source]

Load monitor configurations for a specific well and schematic.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.load_plant()[source]

Load a plant into the well integrity monitoring application instance.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.load_processed_logs()[source]

Load previously processed logs from saved JSON files.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.load_schematic()[source]

Load a specific integrity schematic file for the selected well.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.load_wims_panel()[source]

Load WIMS panel state for the selected well and schematic.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.process_caliper_logs()[source]

Start processing selected caliper logs using Celery task.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.save_corrosion_limits()[source]

Save minimum remaining thickness [mm] into processed_logs/log_dates.json.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.save_log_dates()[source]

Save log name -> date (YYYY-MM-DD) into processed_logs/log_dates.json.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.save_monitors()[source]

Save monitor configurations for a specific well and schematic.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.save_wims_panel()[source]

Save WIMS panel state (overall status, last update date, barrier elements) for the selected well and schematic.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.upload_log()[source]

Upload a log file to the calipers folder for the selected well.

gemini_interface.blueprint.app_wellintegrity_monitoring.routes.upload_tally()[source]

Upload a well tally file to the tally folder for the selected well.