Comments (4)
I suspect that 4 tiles is not enough for the fancy HA optimization algorithm that surveyinit uses by default. If you are happy with HA=0, this should work:
surveyinit --config-file ./desisurvey-config.yaml --init zero --max-cycles 0
from desisurvey.
Thanks @dkirkby that worked. But the next step borked, surely related to the small number of tiles again. All I want/need is an exposures.fits
file so I can test desihub/desitarget#561 through the spectral simulations on my laptop without having to run the minitest
notebook (which is not so "mini" for what I want to do, and only runs at NERSC!).
time surveysim --config-file ./desisurvey-config.yaml --save-restore
ERROR:rules.py:233:apply: No tiles covered by rule N10(2)
ERROR:rules.py:233:apply: No tiles covered by rule N10(3)
ERROR:rules.py:233:apply: No tiles covered by rule N10(4)
ERROR:rules.py:233:apply: No tiles covered by rule N10(7)
ERROR:rules.py:233:apply: No tiles covered by rule N10P1(1)
ERROR:rules.py:233:apply: No tiles covered by rule N10P0(0)
ERROR:rules.py:233:apply: No tiles covered by rule N10P6(6)
[snip]
ERROR:rules.py:233:apply: No tiles covered by rule SHI(7)
Traceback (most recent call last):
File "/Users/ioannis/repos/desihub/surveysim/bin/surveysim", line 15, in <module>
surveysim.scripts.surveysim.main(args)
File "/Users/ioannis/repos/desihub/surveysim/py/surveysim/scripts/surveysim.py", line 162, in main
night, scheduler, stats, explist, weather=weather, use_twilight=args.twilight)
File "/Users/ioannis/repos/desihub/surveysim/py/surveysim/nightops.py", line 154, in simulate_night
nightstats['nsetup'][passnum] += 1
IndexError: index 4 is out of bounds for axis 0 with size 4
from desisurvey.
@moustakas, I'm trying to clean up some old desisurvey issues. Do you want me to take action here? Obviously there have been a lot of changes in the last two years. This may magically work now---certainly the change to no-pass means that the particular line where you're seeing an issue will no longer trigger this particular issue. But I haven't tried to do the equivalent to what you intended here and verified it still works. I'm nevertheless inclined to close unles you feel otherwise.
from desisurvey.
Thanks for checking with me. This ticket is pretty stale so let's close.
from desisurvey.
Related Issues (20)
- 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.