subscript
- subscript.detect_os(release_file=PosixPath('/etc/redhat-release'))
Detect operating system string in runtime, just use default if not found.
- Return type:
str
- subscript.getLogger(module_name='subscript')
Provides a unified logger for subscript scripts.
Scripts in subscript are encouraged to use logging.info() instead of print().
The logger name will typically be “subscript.prtvol2csv” for the command line tool prtvol2csv.
Subscript scripts can set the level of the entire logger, through the setLevel() function. The default level is WARNING. Subscript scripts typically accept a –verbose argparse option to set the log level to INFO, and a –debug option to set to
Logging output is split by logging levels (split between WARNING and ERROR) to stdout and stderr, each log occurs in only one of the streams. This deviates from Unix standard, but is accepted here because few to none subscript tool are meant to have their stdout piped into another application by default (some of them can, then the programmer and user must be careful with log levels).
- Parameters:
module_name (str) – A suggested name for the logger, usually __name__ should be supplied
- Returns:
A logger object
Submodules
subscript.bjobsusers
subscript.casegen_upcars
- Submodules
subscript.casegen_upcars.casegen_upcars
subscript.casegen_upcars.model
Model
Model.bounded_box()
Model.calculate_avg_prop()
Model.clear_throws()
Model.distribute_property()
Model.export_grdecl()
Model.export_props()
Model.grow_box()
Model.remove_vug()
Model.set_fracture_anisotropy_property()
Model.set_fracture_property()
Model.set_layers_property()
Model.set_throws()
Model.set_vug()
fracture_idx()
subscript.casegen_upcars.udf
subscript.casegen_upcars.udf_arg_parser
- Submodules
subscript.check_swatinit
subscript.convert_grid_format
subscript.csv2ofmvol
subscript.csv_merge
subscript.csv_stack
subscript.eclcompress
subscript.ecldiff2roff
subscript.field_statistics
subscript.fmu_copy_revision
- Submodules
subscript.fmu_copy_revision.fmu_copy_revision
CopyFMU
CopyFMU.check_disk_space()
CopyFMU.check_folders()
CopyFMU.check_rms_lockfile()
CopyFMU.construct_default_target()
CopyFMU.construct_target()
CopyFMU.define_filterpattern()
CopyFMU.do_parse_args()
CopyFMU.do_rsyncing()
CopyFMU.menu_source_folder()
CopyFMU.menu_target_folder()
CopyFMU.show_possible_profiles_copy()
get_parser()
main()
- Submodules
subscript.fmuobs
- Submodules
subscript.fmuobs.fmuobs
subscript.fmuobs.parsers
INCLUDE_RE
OBS_ARGS_RE
blockdictlist2df()
compute_date_from_days()
ertobs2df()
expand_includes()
filter_comments()
fix_dtype()
flatten_observation_unit()
mask_curly_braces()
obsdict2df()
parse_observation_unit()
parse_subobservation_args()
remove_enclosing_curly_braces()
resinsight_df2df()
smrydictlist2df()
split_by_sep_in_masked_string()
subscript.fmuobs.util
subscript.fmuobs.writers
- Submodules
subscript.grav_subs_maps
subscript.grav_subs_points
subscript.hook_implementations
subscript.interp_relperm
subscript.merge_rft_ertobs
subscript.merge_unrst_files
subscript.ofmvol2csv
subscript.pack_sim
subscript.params2csv
subscript.presentvalue
subscript.prtvol2csv
subscript.restartthinner
subscript.ri_wellmod
- Submodules
subscript.ri_wellmod.ri_wellmod
CustomFormatter
decode_lgr_spec()
deep_reload()
find_and_wrap_resinsight_version()
find_candidate_modules()
get_parser()
get_resinsight_exe()
get_resinsight_version_string()
get_resinsight_version_triplet()
get_rips_version_triplet()
has_restart_file()
is_init_case()
launch_resinsight()
launch_resinsight_dev()
main()
rsp_extract_export_names()
select_matching_strings()
split_arg_string()
- Submodules
subscript.rmsecl_volumetrics
subscript.sector2fluxnum
- Submodules
subscript.sector2fluxnum.completions
subscript.sector2fluxnum.datafile_obj
Datafile
Datafile.create_DUMPFLUX_file()
Datafile.create_USEFLUX_file()
Datafile.get_KW_position()
Datafile.get_RESTART_warning()
Datafile.get_datafile_content()
Datafile.get_datafile_text_content()
Datafile.get_lines_clean()
Datafile.has_KW()
Datafile.run_DUMPFLUX_nosim()
Datafile.set_USEFLUX_header()
Datafile.set_update_GRID_DUMPFLUX()
Datafile.set_update_GRID_USEFLUX()
Datafile.set_update_INCLUDE()
Datafile.set_update_NOSIM()
Datafile.set_update_PARALLEL()
Datafile.set_update_REGDIMS()
Datafile.set_update_RUNSPEC()
Datafile.set_update_SOLUTION()
subscript.sector2fluxnum.flux_obj
subscript.sector2fluxnum.flux_util
subscript.sector2fluxnum.fluxfile_obj
subscript.sector2fluxnum.sector2fluxnum
- Submodules
subscript.summaryplot
subscript.sunsch
- Submodules
subscript.sw_model_utilities
subscript.version
subscript.vfp2csv
subscript.welltest_dpds