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
Proxy route to generate a well schematic image from external backend API (http://185.92.222.87:8001/generate). |
|
Single-call endpoint: generate schematic, optionally apply barrier colors server-side (one request from frontend, 1–2 calls to schematic server). |
|
Get annulus information from the external API by ending schematic JSON with return_annulus_information=True. |
|
Compute corrosion rate from processed logs (saved JSONs) and return for display in the panel. |
|
Get saved log dates for the selected well (from processed_logs/log_dates.json). |
|
Get list of available logs for the selected well. |
|
Get the processing status of logs for the selected well. |
|
Get measured tags from the selected unit for monitoring. |
|
Get the results of the caliper logs processing task. |
|
Get list of saved well schematics for the selected well (WIMS card schematic selector). |
|
Get data for a specific tag from the application using real database functionality. |
|
Get a list of available well tally files for the selected well. |
|
Get list of wells for well integrity monitoring. |
|
Load monitor configurations for a specific well and schematic. |
|
Load a plant into the well integrity monitoring application instance. |
|
Load previously processed logs from saved JSON files. |
|
Load a specific integrity schematic file for the selected well. |
|
Load WIMS panel state for the selected well and schematic. |
|
Start processing selected caliper logs using Celery task. |
|
Save minimum remaining thickness [mm] into processed_logs/log_dates.json. |
|
Save log name -> date (YYYY-MM-DD) into processed_logs/log_dates.json. |
|
Save monitor configurations for a specific well and schematic. |
|
Save WIMS panel state (overall status, last update date, barrier elements) for the selected well and schematic. |
|
Upload a log file to the calipers folder for the selected well. |
|
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.