Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Data Flow
Data Loading
Wellbore DDMS Data Loader
Commits
7503ea66
Commit
7503ea66
authored
Mar 10, 2022
by
Niall McDaid
Browse files
update commands for restructure
parent
e6365034
Pipeline
#98060
passed with stages
in 1 minute and 9 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/wbdutil/commands/__init__.py
0 → 100644
View file @
7503ea66
src/wbdutil/commands/download.py
View file @
7503ea66
from
typing
import
List
from
knack.log
import
get_logger
from
..environment_var_helper
import
EnvironmentVarHelper
from
..osdu_client
import
OsduClient
from
..configuration
import
Configuration
from
..file_loader
import
LocalFileLoader
from
..well_service
import
WellLogService
from
..
wrapper.
environment_var_helper
import
EnvironmentVarHelper
from
..
wrapper.
osdu_client
import
OsduClient
from
..
common.
configuration
import
Configuration
from
..
common.
file_loader
import
LocalFileLoader
from
..
service.
well_service
import
WellLogService
logger
=
get_logger
(
__name__
)
...
...
src/wbdutil/commands/ingest.py
View file @
7503ea66
...
...
@@ -2,12 +2,12 @@ import json
from
pathlib
import
Path
from
ntpath
import
basename
from
knack.log
import
get_logger
from
..environment_var_helper
import
EnvironmentVarHelper
from
..file_loader
import
LasParser
,
LocalFileLoader
,
FileUtilities
from
..record_mapper
import
LasToRecordMapper
from
..osdu_client
import
OsduClient
from
..configuration
import
Configuration
from
..well_service
import
WellBoreService
,
WellLogService
,
DataLoaderConflictError
from
..
wrapper.
environment_var_helper
import
EnvironmentVarHelper
from
..
common.
file_loader
import
LasParser
,
LocalFileLoader
,
FileUtilities
from
..
service.
record_mapper
import
LasToRecordMapper
from
..
wrapper.
osdu_client
import
OsduClient
from
..
common.
configuration
import
Configuration
from
..
service.
well_service
import
WellBoreService
,
WellLogService
,
DataLoaderConflictError
logger
=
get_logger
(
__name__
)
...
...
src/wbdutil/commands/list_osdu.py
View file @
7503ea66
import
json
from
typing
import
List
from
knack.log
import
get_logger
from
..environment_var_helper
import
EnvironmentVarHelper
from
..osdu_client
import
OsduClient
from
..configuration
import
Configuration
from
..file_loader
import
LocalFileLoader
from
..
wrapper.
environment_var_helper
import
EnvironmentVarHelper
from
..
wrapper.
osdu_client
import
OsduClient
from
..
common.
configuration
import
Configuration
from
..
common.
file_loader
import
LocalFileLoader
logger
=
get_logger
(
__name__
)
...
...
src/wbdutil/commands/parse.py
View file @
7503ea66
from
pathlib
import
Path
from
knack.log
import
get_logger
from
..environment_var_helper
import
EnvironmentVarHelper
from
..file_loader
import
LasParser
,
LocalFileLoader
,
FileUtilities
from
..record_mapper
import
LasToRecordMapper
from
..configuration
import
Configuration
from
..json_writer
import
JsonToFile
from
..
wrapper.
environment_var_helper
import
EnvironmentVarHelper
from
..
common.
file_loader
import
LasParser
,
LocalFileLoader
,
FileUtilities
from
..
service.
record_mapper
import
LasToRecordMapper
from
..
common.
configuration
import
Configuration
from
..
wrapper.
json_writer
import
JsonToFile
logger
=
get_logger
(
__name__
)
...
...
@@ -26,7 +26,7 @@ def printlas(input_path):
def
convert
(
input_path
:
str
,
wellbore_id
:
str
,
config_path
:
str
=
None
):
"""
Convert a LAS file to Wellbore and Well Log and write to JSON files.
Convert a LAS file to Wellbore and Well Log and write to JSON files.
:param str input_path: Path and filename of a LAS file or folder containing LAS files
:param str wellbore_id: The wellbore id
:param str config_path: Path to the configuration file
...
...
src/wbdutil/commands/search.py
View file @
7503ea66
import
json
from
knack.log
import
get_logger
from
..environment_var_helper
import
EnvironmentVarHelper
from
..osdu_client
import
OsduClient
from
..configuration
import
Configuration
from
..file_loader
import
LocalFileLoader
from
..well_service
import
WellBoreService
,
WellLogService
from
..
wrapper.
environment_var_helper
import
EnvironmentVarHelper
from
..
wrapper.
osdu_client
import
OsduClient
from
..
common.
configuration
import
Configuration
from
..
common.
file_loader
import
LocalFileLoader
from
..
service.
well_service
import
WellBoreService
,
WellLogService
logger
=
get_logger
(
__name__
)
...
...
src/wbdutil/commands/update.py
View file @
7503ea66
from
knack.log
import
get_logger
from
..environment_var_helper
import
EnvironmentVarHelper
from
..configuration
import
Configuration
from
..file_loader
import
LocalFileLoader
from
..osdu_client
import
DataLoaderWebResponseError
,
OsduClient
from
..well_service
import
WellLogService
from
..
wrapper.
environment_var_helper
import
EnvironmentVarHelper
from
..
common.
configuration
import
Configuration
from
..
common.
file_loader
import
LocalFileLoader
from
..
wrapper.
osdu_client
import
DataLoaderWebResponseError
,
OsduClient
from
..
service.
well_service
import
WellLogService
logger
=
get_logger
(
__name__
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment