Closed sbailey closed 3 years ago
Thanks, sorry, yes---this is on me. I ran the tests, but yes, I had DESISURVEY_OUTPUT set. I'll take a look.
This is easy to fix for people who only want to read the tile file. I'll push a fix in a bit.
For background: some of things we used to treat as output (priorities, HA optimizations) are now optionally part of the tile file. So the hour angle optimization writes out an updated tile file to DESISURVEY_OUTPUT. The intention was to fall back to the desimodel tile file if this was unavailable, though there was a dumb bug requiring DESISURVEY_OUTPUT to be set for that check to fail. We'll still need DESISURVEY_OUTPUT to be set for real uses of the simulations, since they require ephemerides and HA optimization files in DESISURVEY_OUTPUT, which has always been the case.
Should be resolved in https://github.com/desihub/desisurvey/commit/a377d6c461190ea319c4033a1e3a6690649c2eae. At least, it passes the tests for me, with DESISURVEY_OUTPUT no longer set. Okay to close?
Thanks for the quick fix. I confirm that it works at NERSC and I have installed the master checkout. Closing.
desisurvey and surveysim unit tests broke at NERSC starting last night due to inability to read the tile table:
Previously
$DESISURVEY_OUTPUT
was not a required environment variable, but it looks like now it is again. What should this be set to at NERSC for a general DESI user? I'm nervous about use cases for reading the tiles file as input in a directory called "output". Can we preserve the ability for regular users to access the default surveyops survey tiles file without causing them to try writing into that same directory?@schlafly @dkirkby