gea-program 0.60.0__tar.gz → 0.61.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gea_program-0.60.0 → gea_program-0.61.0}/PKG-INFO +12 -1
- {gea_program-0.60.0 → gea_program-0.61.0}/README.md +11 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/__init__.py +1 -1
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/__main__.py +50 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/acceptance_tests.py +218 -1
- gea_program-0.61.0/gea/casing_design.py +631 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/declarations.py +69 -1
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/dossier.py +12 -1
- gea_program-0.61.0/gea/help/casing.md +19 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/declare.md +1 -1
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/interval.md +1 -1
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/helplib.py +2 -1
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/hydraulics.py +37 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/interval.py +27 -11
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/service.py +14 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/web/app.html +62 -1
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/workspace.py +8 -1
- {gea_program-0.60.0 → gea_program-0.61.0}/gea_program.egg-info/PKG-INFO +12 -1
- {gea_program-0.60.0 → gea_program-0.61.0}/gea_program.egg-info/SOURCES.txt +2 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/pyproject.toml +1 -1
- {gea_program-0.60.0 → gea_program-0.61.0}/LICENSE +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/BENCH_TEST_PROTOCOL.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/accuracy_statement.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/alarm_engine.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/alerts.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/backup.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/bench.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/blind_harness.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/acex_lomonosov_age_depth_model.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/acex_lomonosov_age_depth_model.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/agassiz77_canada_temperature.csv +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/agassiz77_canada_temperature.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/barbados_110_consolidation.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/barbados_110_consolidation.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/bengal_u1452_grain_size.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/bengal_u1452_grain_size.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/blake_164_methane_isotopes.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/blake_164_methane_isotopes.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/chicxulub_m0077a_pwave_velocity.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/chicxulub_m0077a_pwave_velocity.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/collingwood_1_28_ks_complete.las +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/collingwood_1_28_ks_complete.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/costa_rica_odp_friction_envelope.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/costa_rica_odp_friction_envelope.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/dead_sea_5017_debrite_xrf_ms.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/dead_sea_5017_debrite_xrf_ms.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/dsdp_504b_physical_properties.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/dsdp_504b_physical_properties.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/dsdp_504b_sound_velocity.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/dsdp_504b_sound_velocity.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/elgygytgyn_5011_turbidites.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/elgygytgyn_5011_turbidites.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/epica_domec_co2_800kyr.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/epica_domec_co2_800kyr.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/fram_909_organic_petrography.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/fram_909_organic_petrography.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/gbr_325_coral_uth_ages.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/gbr_325_coral_uth_ages.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/gisp2_greenland_temperature.csv +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/gisp2_greenland_temperature.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/gom_308_t2p_insitu.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/gom_308_t2p_insitu.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/guaymas_385_dom_d13c.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/guaymas_385_dom_d13c.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/hikurangi_u1520_friction_insitu.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/hikurangi_u1520_friction_insitu.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/hydrate_ridge_204_ncr_hydrate.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/hydrate_ridge_204_ncr_hydrate.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/iodp_u1324_pore_pressure.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/iodp_u1324_pore_pressure.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/jfast_c0019_slow_slip_events.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/jfast_c0019_slow_slip_events.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/kennetcook_2_p129_excerpt.las +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/kennetcook_2_p129_excerpt.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/ktb_hb_bhgm_density.dat +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/ktb_hb_bhgm_density.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/ktb_hb_complog_6020_excerpt.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/ktb_hb_complog_6020_excerpt.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/ktb_hb_hlog246_temperature.dat +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/ktb_hb_hlog246_temperature.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/ktb_hb_rockmech_compress.dat +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/ktb_hb_rockmech_compress.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/ktb_hb_tvd_0_9080_excerpt.dat +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/ktb_hb_tvd_0_9080_excerpt.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/ktb_vb_rockmech_compress.dat +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/ktb_vb_rockmech_compress.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/ktb_vb_vlog251_temperature.dat +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/ktb_vb_vlog251_temperature.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/l06_06_nl_survey.csv +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/l06_06_nl_survey.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/l07_01_nl_excerpt.las +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/l07_01_nl_excerpt.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/mariana_1200_serpentinite_geochem.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/mariana_1200_serpentinite_geochem.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/med_160_sapropels.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/med_160_sapropels.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/nankai_megasplay_shear_strength.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/nankai_megasplay_shear_strength.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/odp_1027b_thermal_conductivity.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/odp_1027b_thermal_conductivity.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/odp_1027c_cork_temperature.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/odp_1027c_cork_temperature.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/odp_1165b_thermal_conductivity.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/odp_1165b_thermal_conductivity.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/odp_1274a_mantle_peridotite_mad.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/odp_1274a_mantle_peridotite_mad.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/odp_504b_dike_elastic_moduli.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/odp_504b_dike_elastic_moduli.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/odp_504b_leg137_borehole_fluids.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/odp_504b_leg137_borehole_fluids.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/odp_735b_gabbro_elastic_moduli.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/odp_735b_gabbro_elastic_moduli.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/peru_201_sulfate_reduction.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/peru_201_sulfate_reduction.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/scorpio_e1_sa_excerpt.las +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/scorpio_e1_sa_excerpt.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/sumatra_362_cohesion.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/sumatra_362_cohesion.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/university_6_17_no1_tx_excerpt.las +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/university_6_17_no1_tx_excerpt.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/ursa_308_xrd_mineralogy.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/ursa_308_xrd_mineralogy.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/volve_15_9_19_sr_excerpt.las +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/volve_15_9_19_sr_excerpt.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/volve_15_9_19a_core_excerpt.csv +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/volve_15_9_19a_core_excerpt.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/volve_f12_f14_production_excerpt.csv +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/volve_f12_f14_production_excerpt.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/walvis_208_petm_carbonate.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/walvis_208_petm_carbonate.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/woodlark_1109_rock_eval.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog/woodlark_1109_rock_eval.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog_map.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/catalog_register.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/certificates.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/cli.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/client_reports.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/collision.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/config_versioning.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/conformance.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/control_room.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/correlation.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/dashboard.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/decline.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/deviation.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/dlis.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/dnp3.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/doctor.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/dossier_verify.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/downhole_engine.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/drift_monitor.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/drill_string.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/earth_model.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/economics.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/ed25519.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/edr.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/elevation.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/etp.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/etp12_schemas.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/example_register_map.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/fat_sat.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/files.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/fixtures/README.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/fixtures/comcat_delaware_basin_2026-09.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/fixtures/comcat_mahoning_1990-2026.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/fixtures/comcat_youngstown_2011-2012.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/fixtures/ne_110m_coastline.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/follower.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/forward_model.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/frac_hits.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/friction_priors.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/gamma.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/gauge_aging.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/gauge_specs.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/geodesy.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/geomag.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/gravity_reference.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/hartip.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/IT_SECURITY.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/TESTER_GUIDE.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/alarms.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/alerts.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/audit-update.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/backup.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/catalog.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/charts.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/collision.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/company-sign-in.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/conformance.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/control-room.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/data-in.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/decline.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/dlis.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/doctor.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/dossier.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/drift.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/drillstring.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/economics.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/edr.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/etp.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/field-ports.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/files.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/frac-hits.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/historian.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/https.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/hydraulics.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/instruments.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/invoice-check.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/map.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/month-end.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/notifications.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/opseis.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/osdu.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/pad-summary.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/patches.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/penetrator.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/plan.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/pore-pressure.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/ppdm.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/quakeml.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/quality.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/report-history.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/rig-time.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/seedlink.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/seismic.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/setup.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/simulation.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/site.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/sites.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/slip.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/soak.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/sra.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/start.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/structure.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/tools.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/torque-drag.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/transients.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/upkeep.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/vibration.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/well-report.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/well-tests.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/help/well3d.md +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/housekeeping.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/inverse_engine.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/invoice_check.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/jobs.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/live_ports.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/loadtest.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/matplotlib_demo.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/modbus.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/modbus_rtu.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/model_card.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/month_end.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/mqtt_port.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/notify.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/oidc.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/oidc_mock.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/op_seismicity.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/opcua_port.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/operator_app.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/osdu.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/pad_summary.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/patches.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/pdf_report.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/penetrator.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/permits.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/piwebapi.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/pore_pressure.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/ports.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/ppdm.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/profile_catalog.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/project.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/qt6_downhole_app.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/quakeml.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reconciler.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/IU_ANMO_10_BHZ_response.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/IU_ANMO_10_BHZ_response.xml +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/WMM2025.COF +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/eia_henry_hub_daily.csv.gz +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/eia_prices.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/eia_wti_daily.csv.gz +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/iscwsa_rev4_example.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/iscwsa_rev5_example.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/l0701_sonic_gr.las.gz +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/l0701_sonic_gr.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/libmseed_steim.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/libmseed_steim1_4096.mseed +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/libmseed_steim2_4096.mseed +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/libmseed_steim2_512.mseed +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/mahoning_example.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/mud_motor_specs.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/owsg_tool_models.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/penetrator_ratings.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/seismicity_protocols.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/tool_sources.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/us_outline.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/us_outline.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/volve_3d.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/volve_f4_interpretation.las.gz +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/volve_f4_logs.provenance.json +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/volve_f4_lwd.las.gz +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/volve_surfaces.json.gz +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/volve_traj_F-10.xml.gz +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/volve_traj_F-4.xml.gz +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/volve_traj_F-5_12.25in.xml.gz +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/volve_traj_F-5_17.5in.xml.gz +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/volve_traj_F-5_36in.xml.gz +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/volve_traj_F-5_8.5in.xml.gz +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/reference/volve_well_picks.csv.gz +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/report_history.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/rig_state.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/rock_inventory.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/sample_record.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/sample_well_profile.csv +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/sbom.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/seedlink.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/segy.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/seismic.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/seismic_array.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/seismic_assoc.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/seismic_detect.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/seismic_film.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/seismic_harmonic.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/seismic_qc.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/seismic_response.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/seismic_signature.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/seismic_track.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/seismic_uncertainty.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/seismic_unlisted.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/seismic_watch.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/sensor_swap.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/series_cache.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/service_life.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/setup_checklist.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/shapefile.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/shell.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/shut_in.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/simulation.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/site_map.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/sla_report.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/slip.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/soak.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/sra.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/store_forward.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/strata_join.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/structure.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/supervisor.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/survey_cmd.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/survey_view.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/telemetry.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/tls.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/tool_catalog.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/tool_library.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/tool_taxonomy.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/torque_drag.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/transient.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/vibration.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/well3d.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/well_assembler.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/well_report.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/well_test_validation.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/wellplan.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/wellpos.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/wits0.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/witsml.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea/xlsx_read.py +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea_program.egg-info/dependency_links.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea_program.egg-info/entry_points.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea_program.egg-info/requires.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/gea_program.egg-info/top_level.txt +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/setup.cfg +0 -0
- {gea_program-0.60.0 → gea_program-0.61.0}/tests/test_acceptance.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gea-program
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.61.0
|
|
4
4
|
Summary: GEA-Program: downhole gauge monitoring - canonical measurement records, quality rules, drift evaluation with a re-fit change log, well-test validation, alarm management, model cards, store-and-forward, monthly SLA measurement, FAT/SAT protocols and a dashboard, generated from live objects in the client's reporting outline.
|
|
5
5
|
Author: Daniel T. Murphy
|
|
6
6
|
License: MPL-2.0
|
|
@@ -683,6 +683,17 @@ catalogue well is added only from an entry that carries a downhole gauge
|
|
|
683
683
|
series, with a well inside it and its gauge depth; a live seismic station
|
|
684
684
|
whose feed has written nothing yet is listed as having no recording yet.
|
|
685
685
|
|
|
686
|
+
### Casing design and kick tolerance
|
|
687
|
+
|
|
688
|
+
Each casing string's burst, collapse and tension ratings by API TR 5C3,
|
|
689
|
+
from its size, weight and grade, against the loads the hole can put on it
|
|
690
|
+
- gas to the surface held by the shoe, an emptied string, the buoyed
|
|
691
|
+
weight with overpull - with the smallest safety factor and where, and the
|
|
692
|
+
gas kick each open hole below a shoe can take and still be shut in. `gea
|
|
693
|
+
casing --example`; declared on the **Casing & kick tolerance** tab, with
|
|
694
|
+
`gea casing --workspace C:\site --well SWD-1 --strings ...`, or in the
|
|
695
|
+
declarations sheet. `gea help casing`.
|
|
696
|
+
|
|
686
697
|
### Hydraulics and ECD
|
|
687
698
|
|
|
688
699
|
The pressures the mud makes while it circulates, from the six-speed
|
|
@@ -644,6 +644,17 @@ catalogue well is added only from an entry that carries a downhole gauge
|
|
|
644
644
|
series, with a well inside it and its gauge depth; a live seismic station
|
|
645
645
|
whose feed has written nothing yet is listed as having no recording yet.
|
|
646
646
|
|
|
647
|
+
### Casing design and kick tolerance
|
|
648
|
+
|
|
649
|
+
Each casing string's burst, collapse and tension ratings by API TR 5C3,
|
|
650
|
+
from its size, weight and grade, against the loads the hole can put on it
|
|
651
|
+
- gas to the surface held by the shoe, an emptied string, the buoyed
|
|
652
|
+
weight with overpull - with the smallest safety factor and where, and the
|
|
653
|
+
gas kick each open hole below a shoe can take and still be shut in. `gea
|
|
654
|
+
casing --example`; declared on the **Casing & kick tolerance** tab, with
|
|
655
|
+
`gea casing --workspace C:\site --well SWD-1 --strings ...`, or in the
|
|
656
|
+
declarations sheet. `gea help casing`.
|
|
657
|
+
|
|
647
658
|
### Hydraulics and ECD
|
|
648
659
|
|
|
649
660
|
The pressures the mud makes while it circulates, from the six-speed
|
|
@@ -646,6 +646,23 @@ def main(argv=None) -> int:
|
|
|
646
646
|
p_dc.add_argument("--actor", type=str, default="cli")
|
|
647
647
|
p_dc.add_argument("--json", action="store_true")
|
|
648
648
|
|
|
649
|
+
p_cs = sub.add_parser("casing", help="casing design and kick tolerance: each string's burst, collapse and tension against the loads the hole can put on it (API TR 5C3 ratings), and the gas kick each open hole can take")
|
|
650
|
+
p_cs.add_argument("--workspace", type=str, default=None)
|
|
651
|
+
p_cs.add_argument("--well", type=str, default=None)
|
|
652
|
+
p_cs.add_argument("--example", action="store_true", help="the worked example (a vertical 10,000 ft well with three strings, declared for the example)")
|
|
653
|
+
p_cs.add_argument("--strings", type=str, default=None, help="shallowest shoe first: 'surface:13-3/8:54.5:J55:0-1500:17.5:9.0; intermediate:9-5/8:47:N80:0-7000:12.25:9.8' (what:od:lb_ft:grade:top-shoe:hole_in:mud_ppg[:wall_in])")
|
|
654
|
+
for k_, h_ in (("td", "the well's TD below the deepest string, ft MD"), ("td-hole", "the hole below the deepest string, in"), ("td-mw", "the mud below the deepest string, ppg"),
|
|
655
|
+
("pp", "a pore pressure for the well when the Pore pressure tab has none, ppg"), ("fg", "a fracture gradient for the well when the Pore pressure tab has none, ppg"),
|
|
656
|
+
("kick", "kick intensity above the mud, ppg (0.5)"), ("gas", "gas gradient, psi/ft (0.1)"), ("backup", "burst backup gradient outside, psi/ft (0.465)"),
|
|
657
|
+
("evacuation", "how far the string is emptied for collapse, 0 to 1 (1: to the shoe)"), ("df-burst", "burst design factor (1.1)"),
|
|
658
|
+
("df-collapse", "collapse design factor (1.125)"), ("df-tension", "tension design factor (1.6)"), ("overpull", "overpull, klbf (100)"),
|
|
659
|
+
("bha-od", "BHA outside diameter, in"), ("bha-length", "BHA length, ft"), ("dp-od", "drill pipe outside diameter, in")):
|
|
660
|
+
p_cs.add_argument("--" + k_, type=str, default=None, help=h_)
|
|
661
|
+
p_cs.add_argument("--source", type=str, default="", help="where the casing program came from")
|
|
662
|
+
p_cs.add_argument("--write", action="store_true")
|
|
663
|
+
p_cs.add_argument("--actor", type=str, default="cli")
|
|
664
|
+
p_cs.add_argument("--json", action="store_true")
|
|
665
|
+
|
|
649
666
|
p_hy = sub.add_parser("hydraulics", help="the pressures the mud makes while it circulates - the standpipe, the bit, the annulus, the ECD against the pore pressure and fracture gradient, surge and swab - and the standpipe pressure the rig measured")
|
|
650
667
|
p_hy.add_argument("--workspace", type=str, default=None)
|
|
651
668
|
p_hy.add_argument("--well", type=str, default=None)
|
|
@@ -2598,6 +2615,39 @@ def main(argv=None) -> int:
|
|
|
2598
2615
|
raise SystemExit(f"decline: {e.args[0] if e.args else e}")
|
|
2599
2616
|
print(_json.dumps(r, default=str) if a.json else _DCA.text(r))
|
|
2600
2617
|
return 0
|
|
2618
|
+
elif a.cmd == "casing":
|
|
2619
|
+
import json as _json
|
|
2620
|
+
from . import casing_design as _CSG
|
|
2621
|
+
from .cli import _safe_stdout
|
|
2622
|
+
from .workspace import Workspace, WorkspaceError
|
|
2623
|
+
_safe_stdout()
|
|
2624
|
+
try:
|
|
2625
|
+
ws = Workspace(a.workspace) if a.workspace else None
|
|
2626
|
+
scene = "example" if (a.example or ws is None) else "workspace"
|
|
2627
|
+
keys_ = {"td": "td_md_ft", "td_hole": "td_hole_in", "td_mw": "td_mw_ppg", "pp": "pp_ppg", "fg": "fg_ppg", "kick": "kick_intensity_ppg",
|
|
2628
|
+
"gas": "gas_gradient_psi_ft", "backup": "backup_gradient_psi_ft", "evacuation": "evacuation", "df_burst": "df_burst",
|
|
2629
|
+
"df_collapse": "df_collapse", "df_tension": "df_tension", "overpull": "overpull_klbf", "bha_od": "bha_od_in",
|
|
2630
|
+
"bha_length": "bha_length_ft", "dp_od": "dp_od_in"}
|
|
2631
|
+
vals_ = {v: getattr(a, k) for k, v in keys_.items() if getattr(a, k) is not None}
|
|
2632
|
+
if ws is not None and (vals_ or a.strings is not None):
|
|
2633
|
+
if not a.well:
|
|
2634
|
+
raise ValueError("--well is needed")
|
|
2635
|
+
c_ = _CSG.set_well(ws, a.actor, a.well, a.source, a.strings, **vals_)
|
|
2636
|
+
print(f"{a.well}: {len(c_.get('strings') or [])} string(s): {_CSG.strings_text(c_.get('strings') or []) or 'none declared'}")
|
|
2637
|
+
return 0
|
|
2638
|
+
if a.write:
|
|
2639
|
+
if ws is None:
|
|
2640
|
+
raise ValueError("--write needs --workspace")
|
|
2641
|
+
r_ = _CSG.write_report(ws, __version__, a.well, a.actor, scene)
|
|
2642
|
+
print(f"wrote {r_['report_id']}: {r_['paths']['html']}")
|
|
2643
|
+
if r_['paths'].get('pdf'):
|
|
2644
|
+
print(f" printable: {r_['paths']['pdf']}")
|
|
2645
|
+
return 0
|
|
2646
|
+
r = _CSG.page(ws, scene, a.well)
|
|
2647
|
+
except (KeyError, ValueError, OSError, WorkspaceError) as e:
|
|
2648
|
+
raise SystemExit(f"casing: {e.args[0] if e.args else e}")
|
|
2649
|
+
print(_json.dumps(r, default=str) if a.json else _CSG.text(r))
|
|
2650
|
+
return 0
|
|
2601
2651
|
elif a.cmd == "hydraulics":
|
|
2602
2652
|
import json as _json
|
|
2603
2653
|
from . import hydraulics as _HYD
|
|
@@ -13058,7 +13058,7 @@ def section_db_declarations_engineering(tmp: str) -> None:
|
|
|
13058
13058
|
hcfg, tcfg, pcfg = HY.well_config(ws, w1), TND.well_config(ws, w1), PPF.well_config(ws, w1)
|
|
13059
13059
|
meas = (PPF._load(ws).get("measured") or {}).get(w1) or []
|
|
13060
13060
|
c1 = {
|
|
13061
|
-
"planned": not p1["errors"] and p1["counts"]["NEW"] == 10 and p1["counts"]["CHANGE"] == 0 and sorted({s["table"] for s in p1["steps"]}) == sorted(DC.ENG_ORDER),
|
|
13061
|
+
"planned": not p1["errors"] and p1["counts"]["NEW"] == 10 and p1["counts"]["CHANGE"] == 0 and sorted({s["table"] for s in p1["steps"]}) == sorted(set(DC.ENG_ORDER) - {"casing_design", "casing_loads"}), # the casing tables: section DD
|
|
13062
13062
|
"written": a1["applied"] and len(a1["written"]) == 10,
|
|
13063
13063
|
"landed": WPL.well_settings(ws, w1)["program"] == [{"to_md_m": 1000.0, "model": "MWD+SRGM"}, {"to_md_m": None, "model": "MWD+IFR1"}]
|
|
13064
13064
|
and bool(ws.well(w1).get("plan")) and pcfg["indicator"] == "dexponent" and pcfg["bit_in"] == 8.75
|
|
@@ -13310,6 +13310,222 @@ def section_dc_every_tab(tmp: str) -> None:
|
|
|
13310
13310
|
+ (f" [failed: {', '.join(failed4)}]" if failed4 else ""))
|
|
13311
13311
|
|
|
13312
13312
|
|
|
13313
|
+
def section_dd_casing_design(tmp: str) -> None:
|
|
13314
|
+
"""Section DD - casing design and kick tolerance: each string's ratings by API TR 5C3 as API's tables give them, in
|
|
13315
|
+
every collapse regime and reduced under tension; the burst, collapse and tension loads and the smallest safety factor
|
|
13316
|
+
against the design factor, worked by hand on the example; the kick tolerance below each shoe; the program declared
|
|
13317
|
+
from the tab, the command line and the declarations sheet, read on the survey or the recorder's own TVD, written,
|
|
13318
|
+
in the dossier; an interval declared in measured depth converted on the survey or the recorder's TVD."""
|
|
13319
|
+
import http.cookiejar
|
|
13320
|
+
import subprocess as _sp
|
|
13321
|
+
import urllib.error
|
|
13322
|
+
import urllib.request
|
|
13323
|
+
import zipfile as _zf
|
|
13324
|
+
from . import __version__ as _ver
|
|
13325
|
+
from . import casing_design as CSG
|
|
13326
|
+
from . import declarations as DC
|
|
13327
|
+
from . import dossier as DZ
|
|
13328
|
+
from . import edr as E
|
|
13329
|
+
from . import helplib as H
|
|
13330
|
+
from . import hydraulics as HY
|
|
13331
|
+
from . import interval as IV
|
|
13332
|
+
from . import well3d as W
|
|
13333
|
+
from .service import Service, Users
|
|
13334
|
+
from .workspace import Workspace
|
|
13335
|
+
pkg = Path(__file__).parent
|
|
13336
|
+
|
|
13337
|
+
# -- DD1 the ratings -------------------------------------------------------------------------------------------------------
|
|
13338
|
+
def one(od, ppf, grade, **kw):
|
|
13339
|
+
return CSG.check_strings([{"what": "x", "od_in": od, "weight_lbft": ppf, "grade": grade, "top_md_ft": 0, "shoe_md_ft": 1000, "hole_in": 26, "mw_ppg": 9, **kw}])[0]
|
|
13340
|
+
table = [("9-5/8", 47, "N80", 6870, 4750, "plastic", 1086), (7, 29, "P110", 11220, 8530, "plastic", 929), ("13-3/8", 54.5, "J55", 2730, 1130, "transition", 853),
|
|
13341
|
+
(20, 94, "J55", 2110, 520, "elastic", 1481), ("9-5/8", 40, "N80", 5750, 3090, "transition", 916)]
|
|
13342
|
+
rated = [(one(od, w_, g), b, c, reg, by) for od, w_, g, b, c, reg, by in table]
|
|
13343
|
+
thick = CSG.collapse(5.0, 0.5, 110000.0) # D/t 10: the yield regime, 2 Yp (D/t - 1) / (D/t)^2
|
|
13344
|
+
ya0, ya1, ya2 = CSG.reduced_yield(80000.0, 0.0), CSG.reduced_yield(80000.0, 20000.0), CSG.reduced_yield(80000.0, 40000.0)
|
|
13345
|
+
|
|
13346
|
+
def refused(rows):
|
|
13347
|
+
try:
|
|
13348
|
+
CSG.check_strings(rows)
|
|
13349
|
+
return ""
|
|
13350
|
+
except ValueError as e:
|
|
13351
|
+
return str(e)
|
|
13352
|
+
base = {"what": "s", "od_in": "9-5/8", "weight_lbft": 47, "grade": "N80", "top_md_ft": 0, "shoe_md_ft": 5000, "hole_in": 12.25, "mw_ppg": 10}
|
|
13353
|
+
m_grade = refused([{**base, "grade": "X99"}])
|
|
13354
|
+
m_size = refused([{**base, "weight_lbft": 41.3}])
|
|
13355
|
+
m_wall = refused([{**base, "wall_in": 0.3}])
|
|
13356
|
+
m_drift = refused([{**base, "what": "a", "od_in": 7, "weight_lbft": 29, "shoe_md_ft": 3000, "hole_in": 8.5}, {**base, "what": "b"}])
|
|
13357
|
+
try:
|
|
13358
|
+
CSG.parse_strings("surface:13-3/8:54.5:J55")
|
|
13359
|
+
m_parse = ""
|
|
13360
|
+
except ValueError as e:
|
|
13361
|
+
m_parse = str(e)
|
|
13362
|
+
c1 = {
|
|
13363
|
+
"api_tables": all(s["burst_psi"] == b and s["collapse_psi"] == c and s["collapse_regime"] == reg and abs(s["body_yield_klbf"] - by) <= 1.0
|
|
13364
|
+
for s, b, c, reg, by in rated),
|
|
13365
|
+
"yield_regime": thick[1] == "yield" and abs(thick[0] - 2 * 110000.0 * 9.0 / 100.0) < 1e-6,
|
|
13366
|
+
"sizes": CSG.size_in("9-5/8") == 9.625 and CSG.size_in("13 3/8") == 13.375 and CSG.size_in(7) == 7.0 and rated[0][0]["wall_in"] == 0.472
|
|
13367
|
+
and rated[0][0]["id_in"] == 8.681,
|
|
13368
|
+
"tension": ya0 == 80000.0 and ya0 > ya1 > ya2 and CSG.collapse_with_tension(9.625, 0.472, 80000.0, 20000.0) < 4750.0
|
|
13369
|
+
and CSG.reduced_yield(80000.0, -20000.0) == 80000.0,
|
|
13370
|
+
"answered": "the grade is one of" in m_grade and "not in the program's table" in m_size and "weighs about" in m_wall
|
|
13371
|
+
and "does not pass through" in m_drift and "what:od:weight:grade:top-shoe:hole:mw" in m_parse,
|
|
13372
|
+
}
|
|
13373
|
+
failed1 = [k for k, v in c1.items() if not v]
|
|
13374
|
+
ok(not failed1,
|
|
13375
|
+
"DD1 the ratings by API TR 5C3 as API's tables give them - 9-5/8 in 47 lb/ft N80 6,870 psi burst, 4,750 collapse, 1,086 klbf body; 7 in 29 "
|
|
13376
|
+
"P110 11,220 and 8,530; 13-3/8 in 54.5 J55 2,730 and 1,130 (transition); 20 in 94 J55 520 (elastic); 9-5/8 in 40 N80 3,090 (transition); a "
|
|
13377
|
+
"D/t of 10 in the yield regime - the collapse reduced under tension and not raised by compression; a grade, a size, a wall that does not "
|
|
13378
|
+
"match its weight, a string that does not pass through the one above and a short line each answered" + (f" [failed: {', '.join(failed1)}]" if failed1 else ""))
|
|
13379
|
+
|
|
13380
|
+
# -- DD2 the loads and the kick tolerance, by hand on the example -------------------------------------------------------------------
|
|
13381
|
+
ex = CSG.example()
|
|
13382
|
+
sv, iv_, pv = ex["strings"]
|
|
13383
|
+
win = CSG.EXAMPLE_WINDOW
|
|
13384
|
+
|
|
13385
|
+
def at(key, z):
|
|
13386
|
+
return float(np.interp(z, win["tvd_ft"], win[key]))
|
|
13387
|
+
# surface string: gas from the pore pressure at the intermediate shoe (7,000 ft), held by the fracture pressure at 1,500 ft
|
|
13388
|
+
p_res, p_frac = 0.052 * at("pp_ppg", 7000.0) * 7000.0, 0.052 * at("fg_ppg", 1500.0) * 1500.0
|
|
13389
|
+
top_in = min(p_res - 0.1 * 7000.0, p_frac - 0.1 * 1500.0)
|
|
13390
|
+
sf_b_top = 2730.0 / top_in
|
|
13391
|
+
sf_c_shoe = 1130.0 / (0.052 * 9.0 * 1500.0)
|
|
13392
|
+
sf_t = 853.2 / ((1 - 9.0 / 65.5) * 54.5 * 1500.0 / 1000.0)
|
|
13393
|
+
k0 = ex["kicks"][0]
|
|
13394
|
+
maasp = 0.052 * (at("fg_ppg", 1500.0) - 9.8) * 1500.0
|
|
13395
|
+
sidpp = 0.052 * 0.5 * 7000.0
|
|
13396
|
+
hgt = (maasp - sidpp) / (0.052 * 9.8 - 0.1)
|
|
13397
|
+
v_bot = hgt * (12.25 ** 2 - 6.5 ** 2) / 1029.4
|
|
13398
|
+
v_shoe = hgt * (12.25 ** 2 - 5.0 ** 2) / 1029.4 * p_frac / (0.052 * 10.3 * 7000.0)
|
|
13399
|
+
weak = {**CSG.DEFAULTS, "strings": CSG.check_strings([{**base, "what": "9-5/8 in J55 36 lb/ft", "weight_lbft": 36, "grade": "J55", "shoe_md_ft": 7000, "mw_ppg": 10}]),
|
|
13400
|
+
"td_md_ft": 10000.0, "td_hole_in": 8.5, "td_mw_ppg": 12.0, "bha_od_in": 6.5, "bha_length_ft": 600.0, "dp_od_in": 5.0}
|
|
13401
|
+
rw = CSG.analyse(weak, lambda md: float(md), win)
|
|
13402
|
+
no_fg = CSG.analyse({**weak, "strings": weak["strings"]}, lambda md: float(md), {"pp_const": 9.0, "fg_const": None})
|
|
13403
|
+
c2 = {
|
|
13404
|
+
"burst": abs(sv["rows"][0]["burst_net_psi"] - top_in) <= 1.0 and sv["rows"][0]["burst_limited_by_shoe"] and abs(sv["rows"][0]["sf_burst"] - sf_b_top) < 0.005,
|
|
13405
|
+
"collapse": abs(sv["rows"][-1]["sf_collapse"] - sf_c_shoe) < 0.005 and sv["rows"][-1]["collapse_rating_psi"] == 1130,
|
|
13406
|
+
"tension": abs(sv["checks"]["tension"]["sf"] - sf_t) < 0.01 and sv["checks"]["tension"]["ok"],
|
|
13407
|
+
"least": sv["checks"]["burst"]["sf"] == min(r_["sf_burst"] for r_ in sv["rows"] if r_["sf_burst"]) and ex["ok"],
|
|
13408
|
+
"kick": abs(k0["maasp_psi"] - maasp) <= 1 and abs(k0["height_ft"] - hgt) < 0.5 and abs(k0["volume_at_bottom_bbl"] - v_bot) < 0.15
|
|
13409
|
+
and abs(k0["volume_shoe_as_bottom_bbl"] - v_shoe) < 0.15 and k0["volume_bbl"] == min(k0["volume_at_bottom_bbl"], k0["volume_shoe_as_bottom_bbl"]),
|
|
13410
|
+
"weak": not rw["ok"] and not rw["strings"][0]["checks"]["burst"]["ok"] and not rw["strings"][0]["checks"]["collapse"]["ok"],
|
|
13411
|
+
"no_fg": no_fg["kicks"][0]["status"] == "NOT KNOWN" and "fracture gradient at the shoe" in no_fg["kicks"][0]["detail"],
|
|
13412
|
+
"production": pv["below"] is None and "at the shoe" in pv["burst_case"],
|
|
13413
|
+
}
|
|
13414
|
+
failed2 = [k for k, v in c2.items() if not v]
|
|
13415
|
+
ok(not failed2,
|
|
13416
|
+
"DD2 the worked example by hand: the surface string's burst load at the top is gas from the pore pressure at the next shoe held to the fracture "
|
|
13417
|
+
"pressure at its own shoe, the collapse at its shoe the 9.0 ppg mud against an empty string, the tension its buoyed weight; the smallest "
|
|
13418
|
+
"safety factor where it falls; the kick tolerance below it MAASP, SIDPP, the bubble's height and its volume at the bottom and at the shoe "
|
|
13419
|
+
"carried back by Boyle's law, the smaller; a 36 lb/ft J55 string at 7,000 ft below its design factors in burst and collapse; no fracture "
|
|
13420
|
+
"gradient, no kick tolerance - said so" + (f" [failed: {', '.join(failed2)}]" if failed2 else ""))
|
|
13421
|
+
|
|
13422
|
+
# -- DD3 a well: declared three ways, read on its survey or the recorder's TVD, written, in the dossier ----------------------------------
|
|
13423
|
+
d = Path(tmp, "casing"); d.mkdir()
|
|
13424
|
+
hy = HY.selftest_files(str(d / "hy"))
|
|
13425
|
+
wsp = str(d / "ws"); ws = Workspace.create(wsp, "Pad 3", actor="tester")
|
|
13426
|
+
w1 = ws.add_well_file(hy["record"], display="HY-1", actor="tester")["id"]
|
|
13427
|
+
w2 = ws.add_well_file(hy["record"], display="HY-2", actor="tester")["id"]
|
|
13428
|
+
W.attach_trajectory(ws, w1, "s.csv", Path(hy["survey"]).read_bytes(), "tester", "true", "ft", None, None, None, "test survey")
|
|
13429
|
+
for wid in (w2,):
|
|
13430
|
+
out = Path(ws.reports_dir, "wells", wid); out.mkdir(parents=True, exist_ok=True)
|
|
13431
|
+
E.write_record(E.read(hy["record"]), str(out), _ver)
|
|
13432
|
+
prog = "surface:13-3/8:54.5:J55:0-1500:17.5:9.0; intermediate:9-5/8:47:N80:0-6000:12.25:10"
|
|
13433
|
+
cli = _sp.run([sys.executable, "-m", "gea", "casing", "--workspace", wsp, "--well", w1, "--strings", prog, "--td", "10000", "--td-hole", "8-1/2", "--td-mw", "11",
|
|
13434
|
+
"--pp", "9.5", "--fg", "14.5", "--bha-od", "6.75", "--bha-length", "400", "--dp-od", "5", "--source", "drilling program (test)"],
|
|
13435
|
+
capture_output=True, text=True, cwd=str(pkg.parent))
|
|
13436
|
+
p1 = CSG.page(ws, "workspace", w1)
|
|
13437
|
+
r1 = p1["result"]
|
|
13438
|
+
sheet = d / "sheet.csv"
|
|
13439
|
+
cols_d, cols_l = DC.TABLES["casing_design"]["cols"], DC.TABLES["casing_loads"]["cols"]
|
|
13440
|
+
rows = [["[casing_design]", *cols_d], ["", "HY-2", "surface", "13-3/8", "54.5", "J55", "0", "1500", "17.5", "9.0", "", "casing tally (test)"],
|
|
13441
|
+
["", "HY-2", "intermediate", "9.625", "47", "N80", "0", "6000", "12.25", "10", "", "casing tally (test)"],
|
|
13442
|
+
["[casing_loads]", *cols_l], ["", "HY-2", "10000", "8.5", "11", "9.5", "14.5", "0.5", "", "", "", "", "", "", "", "6.75", "400", "5", "drilling program (test)"]]
|
|
13443
|
+
import csv as _csv
|
|
13444
|
+
import io as _io
|
|
13445
|
+
buf = _io.StringIO(); _csv.writer(buf).writerows(rows); sheet.write_text(buf.getvalue(), encoding="utf-8")
|
|
13446
|
+
pl = DC.apply(ws, sheet.read_text(encoding="utf-8"), "tester", str(d))
|
|
13447
|
+
pw = DC.apply(ws, sheet.read_text(encoding="utf-8"), "tester", str(d), write=True)
|
|
13448
|
+
again = DC.apply(ws, sheet.read_text(encoding="utf-8"), "tester", str(d))
|
|
13449
|
+
tmpl = DC.apply(ws, DC.template(ws), "tester", str(d))
|
|
13450
|
+
bad = sheet.read_text(encoding="utf-8").replace(",N80,", ",X99,")
|
|
13451
|
+
pb = DC.apply(ws, bad, "tester", str(d), write=True)
|
|
13452
|
+
p2 = CSG.page(ws, "workspace", w2)
|
|
13453
|
+
r2 = p2["result"]
|
|
13454
|
+
Users(str(Path(wsp, "users.json"))).add("op", "op-pass-123", "operator")
|
|
13455
|
+
svc = Service(wsp, port=0, scheduler=False).start()
|
|
13456
|
+
base_url = svc.url.rstrip("/")
|
|
13457
|
+
o = urllib.request.build_opener(urllib.request.HTTPCookieProcessor(http.cookiejar.CookieJar()))
|
|
13458
|
+
|
|
13459
|
+
def call(method, path, body=None):
|
|
13460
|
+
rq = urllib.request.Request(base_url + path, method=method, data=(json.dumps(body).encode() if body is not None else None))
|
|
13461
|
+
rq.add_header("Content-Type", "application/json"); rq.add_header("X-GEA-Action", "1")
|
|
13462
|
+
try:
|
|
13463
|
+
with o.open(rq, timeout=120) as rr_:
|
|
13464
|
+
return rr_.status, json.loads(rr_.read())
|
|
13465
|
+
except urllib.error.HTTPError as e:
|
|
13466
|
+
return e.code, json.loads(e.read())
|
|
13467
|
+
try:
|
|
13468
|
+
call("POST", "/api/login", {"name": "op", "password": "op-pass-123"})
|
|
13469
|
+
st_g, g = call("GET", f"/api/casing-design?well={w1}")
|
|
13470
|
+
st_ex, gx = call("GET", "/api/casing-design?scene=example")
|
|
13471
|
+
st_s, sset = call("POST", "/api/casing-design/settings", {"well_id": w1, "df_burst": "1.2", "source": "drilling program rev 2 (test)"})
|
|
13472
|
+
st_bad, sbad = call("POST", "/api/casing-design/settings", {"well_id": w1, "strings": "surface:13-3/8:54.5:X99:0-1500:17.5:9", "source": "x"})
|
|
13473
|
+
st_w, wr = call("POST", "/api/casing-design/write", {"well_id": w1})
|
|
13474
|
+
finally:
|
|
13475
|
+
svc.stop()
|
|
13476
|
+
cli_ex = _sp.run([sys.executable, "-m", "gea", "casing", "--example"], capture_output=True, text=True, cwd=str(pkg.parent))
|
|
13477
|
+
dz = DZ.build(ws, "tester", _ver, None)
|
|
13478
|
+
with _zf.ZipFile(Path(ws.reports_dir, dz["path"])) as z_:
|
|
13479
|
+
names = set(z_.namelist())
|
|
13480
|
+
rep_json = json.loads(Path(ws.reports_dir, "wells", w1, "casing_design.json").read_text(encoding="utf-8"))
|
|
13481
|
+
page_src = (pkg / "web" / "app.html").read_text(encoding="utf-8")
|
|
13482
|
+
c3 = {
|
|
13483
|
+
"cli": cli.returncode == 0 and "2 string(s)" in cli.stdout,
|
|
13484
|
+
"survey": r1 and r1["path_from"] == "survey" and r1["strings"][1]["shoe_tvd_ft"] < 6000.0 - 100.0 and len(r1["kicks"]) == 2
|
|
13485
|
+
and r1["kicks"][1]["bottom_md_ft"] == 10000.0 and r1["kicks"][1].get("volume_bbl") is not None,
|
|
13486
|
+
"sheet": not pl["errors"] and [s_["action"] for s_ in pl["steps"] if s_["table"] in ("casing_design", "casing_loads")] == ["NEW", "NEW"]
|
|
13487
|
+
and pw["applied"] and not again["errors"] and again["counts"]["NEW"] == 0 and again["counts"]["CHANGE"] == 0
|
|
13488
|
+
and not tmpl["errors"] and tmpl["counts"]["NEW"] == 0 and tmpl["counts"]["CHANGE"] == 0,
|
|
13489
|
+
"sheet_bad": bool(pb["errors"]) and any("[casing_design]" in e and "the grade is one of" in e for e in pb["errors"]) and not pb["written"],
|
|
13490
|
+
"recorder": r2 and r2["path_from"] == "recorder" and "not a survey" in r2["path_how"] and abs(r2["strings"][1]["shoe_tvd_ft"] - r1["strings"][1]["shoe_tvd_ft"]) < 40.0,
|
|
13491
|
+
"api": st_g == 200 and g["result"]["well"] == w1 and st_ex == 200 and gx["scene"] == "example" and st_s == 200 and sset["df_burst"] == 1.2
|
|
13492
|
+
and st_bad == 400 and "the grade is one of" in sbad.get("error", "") and st_w == 200 and wr["report_id"].startswith("CSG-")
|
|
13493
|
+
and rep_json["config"]["df_burst"] == 1.2,
|
|
13494
|
+
"example_cli": cli_ex.returncode == 0 and "6,870 psi" in cli_ex.stdout and "kick tolerance below" in cli_ex.stdout,
|
|
13495
|
+
"dossier": "declarations/drillstring/casing_design.json" in names and f"results/casing_design/{w1}.json" in names,
|
|
13496
|
+
"page_help": "['#/casing', 'Casing & kick tolerance']" in page_src and "VIEWS.casing = async" in page_src and not H.check("casing")
|
|
13497
|
+
and any(t["topic"] == "casing" for t in H.topics()) and "[casing_design]" in (H.page("declare") or ""),
|
|
13498
|
+
}
|
|
13499
|
+
failed3 = [k for k, v in c3.items() if not v]
|
|
13500
|
+
ok(not failed3,
|
|
13501
|
+
"DD3 a well's casing program declared from the command line, the API and the declarations sheet (planned NEW, written, then SAME, and from "
|
|
13502
|
+
"the template; a bad grade answered with its row, nothing written); read on its survey, or on the drilling recorder's own TVD for a well with "
|
|
13503
|
+
"none, said so; the kick tolerance of each open hole to TD; the report written (CSG-...); the dossier carries the declarations and the "
|
|
13504
|
+
"result; the tab, the help and the sheet's tables" + (f" [failed: {', '.join(failed3)}]" if failed3 else ""))
|
|
13505
|
+
|
|
13506
|
+
# -- DD4 an interval declared in measured depth -----------------------------------------------------------------------------------------
|
|
13507
|
+
base_w = {"id": "w", "surface": {"lat": 1.0, "lon": 1.0, "elevation": {"ft": 2950.0, "datum": "KB", "source": "report"}},
|
|
13508
|
+
"disposal": {"top_interval_ft": 7000.0, "base_interval_ft": 7600.0, "depth_reference": "MD"}}
|
|
13509
|
+
path1, path2 = HY.depth_path(ws, w1), HY.depth_path(ws, w2)
|
|
13510
|
+
s1 = IV.statement(base_w, {"status": "OK", "layers": []}, [], None, path1)
|
|
13511
|
+
s2 = IV.statement(base_w, {"status": "OK", "layers": []}, [], None, path2)
|
|
13512
|
+
s3 = IV.statement({**base_w, "disposal": {**base_w["disposal"], "base_interval_ft": 30000.0}}, {"status": "OK", "layers": []}, [], None, path1)
|
|
13513
|
+
tv_top = HY.tvd_at(path1, 7000.0)
|
|
13514
|
+
c4 = {
|
|
13515
|
+
"survey": path1["from"] == "survey" and s1["declared"]["depth_reference"] == "TVD" and abs(s1["declared"]["top_ft"] - tv_top) < 0.2
|
|
13516
|
+
and s1["declared"]["top_ft"] < 7000.0 - 500.0 and s1["declared"]["converted_from_md"]["top_md_ft"] == 7000.0
|
|
13517
|
+
and any("converted to" in n and "survey" in n for n in s1["notes"]) and abs(s1["declared"]["top_subsea_ft"] - (2950.0 - s1["declared"]["top_ft"])) < 0.2,
|
|
13518
|
+
"recorder": path2["from"] == "recorder" and abs(s2["declared"]["top_ft"] - s1["declared"]["top_ft"]) < 40.0 and any("not a survey" in n for n in s2["notes"]),
|
|
13519
|
+
"beyond": s3["status"] == "NOT RESOLVED" and "reaches" in s3["lines"][0],
|
|
13520
|
+
"help": "converted on the well's survey" in (H.page("interval") or ""),
|
|
13521
|
+
}
|
|
13522
|
+
failed4 = [k for k, v in c4.items() if not v]
|
|
13523
|
+
ok(not failed4,
|
|
13524
|
+
"DD4 an interval declared in measured depth is converted to true vertical depth on the well's survey, or the drilling recorder's own TVD for a "
|
|
13525
|
+
"well with none (within 40 ft of the survey's), each said so in the statement; an interval deeper than the depth table reaches stays NOT "
|
|
13526
|
+
"RESOLVED and says how far it reaches" + (f" [failed: {', '.join(failed4)}]" if failed4 else ""))
|
|
13527
|
+
|
|
13528
|
+
|
|
13313
13529
|
def PR_read_ok(path) -> bool:
|
|
13314
13530
|
from . import pdf_report as PR
|
|
13315
13531
|
try:
|
|
@@ -13428,6 +13644,7 @@ def main() -> int:
|
|
|
13428
13644
|
section_da_hydraulics(tmp)
|
|
13429
13645
|
section_db_declarations_engineering(tmp)
|
|
13430
13646
|
section_dc_every_tab(tmp)
|
|
13647
|
+
section_dd_casing_design(tmp)
|
|
13431
13648
|
if _FAILS:
|
|
13432
13649
|
print(f"[ACCEPTANCE] {len(_FAILS)} FAILURES ({_PASS} passed):")
|
|
13433
13650
|
for f in _FAILS:
|