Comments (5)
This issue is also broadly related to #84.
from desisurvey.
This seems like a reasonable request and should be supported in desisurvey.
However, it looks like desimodel.footprint.pass2program
and desimodel.footprint.program2pass
call desimodel.io.load_tiles()
with no args, so ignore the tiles_file
config option that desisurvey
uses consistently, e.g.
desimodel.io.load_tiles(onlydesi=True, extra=False, tilesfile=config.tiles_file()))
from desisurvey.
Let's update desimodel.footprint.pass2program
and program2pass
to also accept a tiles
table or a tilesfile
, in which case it would skip the cached answer and recalculate for those tiles instead.
If desisurvey only calls program2pass
a few times (e.g. once per program that it finds) that should be fine. If it for some reason needs to call it once per tile, then we'd need to be smarter with the caching so that it doesn't have to read the tiles file 10k times.
from desisurvey.
I think this is fixed now in #91, but does anyone have a specific test to propose before we close the issue?
Note that desisurvey
no longer uses desimodel.footprint.pass2program
or desimodel.footprint.program2pass
since these are now handled by desisurvey.tiles.Tiles
(which also provides other precomputed maps to efficiently support artibrary pass numbering). Also, optional tiles_file
args have been eliminated from desisurvey
and surveysim
, since this proved to be error prone to implement and use. Instead, there is a single config tiles_file
parameter that specifies the tiles to use consistently across these packages.
from desisurvey.
DavidK proposed closing this three years ago, and desisurvey no longer uses the relevant routines, and the no-pass approach means that the original issue has lost some of its meaning. I'm closing this.
from desisurvey.
Related Issues (20)
- RA, Dec mix up when calling desisurvey.ephem.get_object_interpolator HOT 1
- 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
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.