GithubHelp home page GithubHelp logo

Comments (4)

dkirkby avatar dkirkby commented on July 20, 2024

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.

moustakas avatar moustakas commented on July 20, 2024

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.

schlafly avatar schlafly commented on July 20, 2024

@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.

moustakas avatar moustakas commented on July 20, 2024

Thanks for checking with me. This ticket is pretty stale so let's close.

from desisurvey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.