Skip to content

Commit

Permalink
Merge pull request #23 from kadrlica/magic
Browse files Browse the repository at this point in the history
Preparing for MAGIC 2024A
  • Loading branch information
kadrlica authored Jan 5, 2024
2 parents 3274213 + 8385614 commit c28fab2
Show file tree
Hide file tree
Showing 12 changed files with 1,197 additions and 24 deletions.
2 changes: 2 additions & 0 deletions bin/schedule_night
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ def main():
logging.info("Scheduling nite: %s"%(nitestr))
logging.info("Start Time (UTC): %s"%(datestr))

print(args.fields)
print(args.windows)
scheduler = scheduler_factory(target_fields=args.fields,
windows=args.windows,
completed_fields=args.complete)
Expand Down
3 changes: 2 additions & 1 deletion bin/schedule_survey
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def main():
logging.info(basedir)

try:
print(args.utc_start, args.utc_end)
survey = scheduler.schedule_survey(start=args.utc_start,end=args.utc_end,
chunk=args.chunk,plot=args.plot,
mode=args.mode,write=True,
Expand All @@ -37,7 +38,7 @@ def main():
scheduler.completed_fields.write('survey_fields.csv')

for nite,chunks in survey.items():
survey.write_nite(nite,chunks,dirname=basedir)
scheduler.write_nite(nite,chunks,dirname=basedir)

return survey

Expand Down
Loading

0 comments on commit c28fab2

Please sign in to comment.