Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pothiers committed Oct 23, 2024
1 parent e35c857 commit 80e75ca
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions notebooks_tsqr/NightLog.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,15 @@
"source": [
"# Parameters.\n",
"# Times Square replaces this cell with the user's parameters.\n",
"\n",
"# The run-time defaults for all of these parameters are in NightLog.yaml\n",
"# Under Times Square, the run-time defaults always override values given here.\n",
"# Values here are used for local tests.\n",
"# So, don't put anything else here!\n",
"\n",
"# day_obs values: TODAY, YESTERDAY, YYYY-MM-DD\n",
"# Report on observing nights that start upto but not included this day.\n",
"#!day_obs = '2024-09-25' # Value to use for local testing (Summit)\n",
"day_obs = \"2024-09-25\" # TODO Change to 'YESTERDAY' to test with default before push\n",
"\n",
"# Total number of days of data to display (ending on day_obs)\n",
"number_of_days = \"2\" # TODO Change to '1' to test with default before push\n",
"\n",
"# Experimental Features config\n",
"exp_tally = \"false\" # default: true\n",
"exp_parsing = \"true\" # default: true\n",
"experimental = dict()\n",
"experimental[\"exposure_type_tally\"] = exp_tally == \"true\"\n",
"experimental[\"error_parsing\"] = exp_parsing == \"true\""
"number_of_days = \"2\" # TODO Change to '1' to test with default before push"
]
},
{
Expand Down Expand Up @@ -90,6 +80,13 @@
"# date: is EXCLUSIVE (upto, but not including)\n",
"days = int(number_of_days)\n",
"\n",
"# Experimental Features config\n",
"exp_tally = \"false\" # default: true\n",
"exp_parsing = \"true\" # default: true\n",
"experimental = dict()\n",
"experimental[\"exposure_type_tally\"] = exp_tally == \"true\"\n",
"experimental[\"error_parsing\"] = exp_parsing == \"true\"\n",
"\n",
"# Thus: [min_day_obs,max_day_obs)\n",
"# Format: string, YYYY-MM-DD\n",
"min_date = date - dt.timedelta(days=days - 1)\n",
Expand Down

0 comments on commit 80e75ca

Please sign in to comment.