We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56df8f6 commit 4a0ea42Copy full SHA for 4a0ea42
1 file changed
sdc_aws_utils/config.py
@@ -3,7 +3,12 @@
3
4
from sdc_aws_utils.logging import log
5
import swxsoc
6
-from swxsoc.util import util
+from swxsoc.util.util import create_science_filename as writer, parse_science_filename as parser
7
+
8
+__all__ = [
9
+ "parser",
10
+ "writer",
11
+]
12
13
# Read config file
14
mission_config = swxsoc.config["mission"]
@@ -27,10 +32,6 @@
27
32
INSTR_TO_BUCKET_NAME = {this_instr: f"{MISSION_NAME}-{this_instr}" for this_instr in INSTR_NAMES}
28
33
INSTR_TO_PKG = dict(zip(INSTR_NAMES, INSTR_PKG))
29
34
30
-# Import parser and writer from util
31
-parser = util.parse_science_filename
-writer = util.create_science_filename
-
35
# Get Incoming Bucket Name
36
def get_incoming_bucket(environment: str = "DEVELOPMENT") -> str:
37
"""
0 commit comments