Opened 6 years ago

Closed 5 years ago

#1870 closed defect (fixed)

"watch" option in wcst_import

Reported by: Dimitar Misev Owned by: ahambasan
Priority: major Milestone: 9.7
Component: wcst_import Version: development
Keywords: Cc: Vlad Merticariu, Peter Baumann, Bang Pham Huu
Complexity: Medium

Description (last modified by Dimitar Misev)

In the case of a growing archive of data (where new data is continuously being added), it would be convenient to automatically ingest this data in rasdaman as soon as it becomes available.

The idea is to support this through an option for wcst_import.sh:

--watch [interval (seconds)]

By default interval=3600 if none is specified.

When --watch is specified:

  1. interval is as specified, or 3600 (1 hour) otherwise
  2. --daemon is implied
  3. The daemon runs the ingestion as usual and waits for it to finish
  4. After the first execution of wcst_import.py finished, daemon waits for interval seconds, then runs wcst_import.py again, and so on in a cycle

Change History (10)

comment:1 by Dimitar Misev, 6 years ago

Description: modified (diff)

comment:2 by Dimitar Misev, 6 years ago

Description: modified (diff)

comment:3 by Dimitar Misev, 6 years ago

Description: modified (diff)

comment:4 by Dimitar Misev, 6 years ago

Description: modified (diff)

comment:5 by Dimitar Misev, 5 years ago

Description: modified (diff)
Owner: changed from bphmahuu to ahambasan
Status: newassigned

comment:6 by Dimitar Misev, 5 years ago

Description: modified (diff)

comment:7 by Dimitar Misev, 5 years ago

Cc: Bang Pham Huu added

comment:8 by ahambasan, 5 years ago

What is the desired behavior of:

--daemon restart --watch [interval]

Should this command change the interval of time the daemon waits before it runs wcst_import.py again?

comment:9 by Dimitar Misev, 5 years ago

Yes that would make sense.

comment:10 by ahambasan, 5 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.