Skip to content

Commit 956b5ec

Browse files
remove hard path from pyobsforge
1 parent 2007a33 commit 956b5ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ush/python/pyobsforge/obsdb/jrr_aod_db.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class JrrAodDatabase(BaseDatabase):
88
"""Class to manage an observation file database for JRR-AOD data."""
99

1010
def __init__(self, db_name="jrr_aod_obs.db",
11-
dcom_dir="/lfs/h1/ops/prod/dcom/",
11+
dcom_dir=self.task_config.DCOMROOT,
1212
obs_dir="jrr_aod"):
1313
base_dir = os.path.join(dcom_dir, '*', obs_dir)
1414
super().__init__(db_name, base_dir)
@@ -72,7 +72,7 @@ def ingest_files(self):
7272

7373

7474
if __name__ == "__main__":
75-
db = JrrAodDatabase(dcom_dir="/home/gvernier/Volumes/hera-s1/runs/realtimeobs/lfs/h1/ops/prod/dcom/")
75+
db = JrrAodDatabase
7676

7777
# Check for new files
7878
db.ingest_files()

0 commit comments

Comments
 (0)