Comments (10)
I can get a start on this if @weaverba137 can point me to a "best practices" example to start from (presumably not the astropy flavor that I am used to).
from desisurvey.
Depends. If desisurvey has many external package dependencies (astropy stack, matplotlib, etc.), you should use desispec as a template. If desisurvey has very few external dependencies, then desiutil is a good template. I actually need to upgrade the desitemplate product to reflect the latest changes I've made to desiutil.
from desisurvey.
Here are the requirements.txt
:
setuptools
numpy
scipy
astropy
pyephem
pytz
from desisurvey.
Definitely use desispec as a template then.
from desisurvey.
I have not made any progress here (and still have no travis expertise).
@weaverba137 Do you have time to add a .travis file to this repo?
All tests should pass once #60 is merged.
from desisurvey.
I'm observing at Kitt Peak, but I can take a look sometime this week.
from desisurvey.
@dkirkby, in addition to the external packages already mentioned, does desisurvey depend on any DESI packages, besides desiutil?
from desisurvey.
OK, definitely needs specsim.
from desisurvey.
While running tests, I noticed that several of the tests require downloading external data sets. This is not good practice for Travis tests. If necessary, you can cache these data sets in the tests directory of the package.
from desisurvey.
While running tests, I found these additional packages were necessary:
- healpy
- specsim
- speclite
- desimodel
While running tests on my own machine, I found the following additional error:
======================================================================
ERROR: test_ctor (desisurvey.test.test_progress.TestProgress)
Create a new table from scratch
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/weaver/Documents/Code/git/desihub/desisurvey/py/desisurvey/test/test_progress.py", line 41, in test_ctor
self.assertEqual(type(p.get_tile(10)), astropy.table.Row)
File "/Users/weaver/Documents/Code/git/desihub/desisurvey/py/desisurvey/progress.py", line 289, in get_tile
raise ValueError('Invalid tile_id {0}.'.format(tile_id))
ValueError: Invalid tile_id 10.
Not sure how 10 could possibly invalid here.
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.