Comments (5)
The tiles file to use is specified in the desisurvey config.yaml
file, which has a default of py/desisurvey/data/config.yaml
, but can be specified via the --config-file
option to surveyplan
and surveyinit
. You could create an sv-tiles.fits
file with your custom tiles using IN_DESI=1
for all those tiles, and use a custom desisurvey config.yaml
to point to that custom tiles file. If that file is in $DESIMODEL/data/footprint/
then you don't have to specify the path, otherwise (I think) you can put it anywhere if you include the full path in the desisurvey config.yaml
file.
i.e. is the real requirement to be able to use IN_DESI=0 tiles in desi-tiles.fits
, or rather is the requirement to be able to use arbitrary tiles files? I think the latter is more flexible and already supported (albeit via config file alternations rather than command line options). Does that provide the functionality that you need? (and if not, why not?)
from desisurvey.
I understood all your comments, and indeed I'm using the --config-file
option to surveyinit
, surveysim
, and surveyplan
. Let me rephrase as a two-part question:
- Are the SV tiles / pointings going to be a part of the nominal
$DESIMODEL/data/footprint/desi-tiles.fits
file? My understanding was that -- eventually (but before the start of SV itself) -- they would be. - If so, will those tiles have
IN_DESI=1
orIN_DESI=0
? If the former, thendesisurvey.schedule
will work as-is; if not, then we need the option of simulating observations of "non-DESI" tiles (assuming it will still be useful to do survey simulations, even when we're on-sky).
from desisurvey.
For now I propose that we keep SV tiles out of desi-tiles.fits (i.e. a separate file) and use IN_DESI=1 so that we can point the config files at them and run with it. i.e. "IN_DESI=1" becomes a statement about footprint, not about main-survey vs. other programs.
Previously I had thought that we would then merge those tiles into desi-tiles.fits under a different PROGRAM name, but this thread highlights that that could be problematic if we retain IN_DESI=1 since we don't want the main survey to try scheduling them. Eventually survey* code could have an option for which PROGRAM values to consider, so that they could use the separate or merged tiles files.
from desisurvey.
I think we have converged on a workable solution. Specifically, SV will have its own tiles file satisfying:
- IN_DESI = 1 for all tiles to schedule.
- all tiles assigned to program = DARK / GRAY / BRIGHT.
- arbitrary pass numbers (but all tiles in a pass must the same program).
The SV tiles will be specified at run time using the config tiles_tile
option.
Any objections to closing this now?
from desisurvey.
Closing this as we are now through SV.
from desisurvey.
Related Issues (20)
- Found invalid plan_tiles in use_plan(). HOT 4
- Consider moving freeze_iers to desiutil HOT 3
- unit tests and surveyinit failing with new tile file HOT 4
- Make tile file more flexible to changes HOT 1
- Update default fiberassign cadence HOT 1
- HA optimizations should be made more flexible
- Consider alternative status file formats
- Change mechanism by which rules and tile file are specified in afternoon planning
- Remove simulate blocks from desisurvey
- should desisurvey depend on specsim? HOT 2
- Next tile to be chosen before previous exposure is saved to disc HOT 1
- unit tests failing on NERSC HOT 4
- revive tests with GitHub actions
- desisurvey broken with astropy 4.2 HOT 8
- reading horizons_2020_week1_moon.csv broken under astropy 4.2
- Unit tests failing with speclite error HOT 1
- desisurvey.ephem is broken in current DESI releases HOT 7
- survey simulations tutorial fails with AttributeError: 'Configuration' object has no attribute 'tiles_nogray' HOT 1
- Use exposures-daily and tiles-daily instead of tsnr-exposures & tiles
- Change permissions on newly created files to be group writeable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from desisurvey.