Comments (3)
The ObjID 587722984180548043 has the firstfield
bit set, which is 2**28
, but is otherwise bitwise identical to 587722983912112587. The firstfield
bit was only used in DR7 & prior. In DR8 and later, that bit is always zero. Because most ObjIDs, even in DR7, have this set to zero, the sdss_objid()
and unwrap_objid()
functions don't consider it.
Could you please let me know where you found those ObjIDs? Since firstfield
is a single bit, it is Boolean, so it seems like you have the same object being both flagged firstfield
and not firstfield
.
from pydl.
I've been trying to get the RA, Dec coordinates for the galaxies in the Simard et al. (2011; http://adsabs.harvard.edu/abs/2011ApJS..196...11S) catalog, and I'm very likely doing it in a stupid way. The example of 587722984180548043 comes directly from the Simard catalog. I convert that to run, rerun, etc using unwrap_objid
and then search for the object in the query form here: http://skyserver.sdss.org/dr7/en/tools/crossid/crossid.asp
Because not all ObjIDs returned objects in my DR7 query (for reasons I don't understand; I can provide a list if you want), I have to match the query results back to the input list. So I use pydl.pydlutils.sdss.sdss_objid
to convert the returned run, rerun, etc. back to ObjID to do this matching. That's where the inconsistency must have crept in, and where 587722983912112587 comes from in my example.
from pydl.
OK, thank you, that makes sense. I'm going to leave this open while I think about how to handle the firstfield
bit, since clearly it is needed here. Historically, PyDL was developed with DR8++ data in mind, so this hasn't come up before.
from pydl.
Related Issues (20)
- IOError when running tests with a non-writable PyDL location HOT 1
- Incorrect Euclidean division in Python 3 HOT 3
- Failure on 32-bits architecture with Python 3 HOT 10
- Add functions for computing specobjid
- Documentation link broken HOT 2
- Broken import with astropy 2.0 HOT 1
- Astropy Affiliated Package Review HOT 14
- Citable record? HOT 8
- Infrastructure updates notice from Astropy Project HOT 2
- Incorporate changes from PypeIt
- Update License file HOT 1
- Add SDSS window function documentation
- Update doctests to recent Numpy versions.
- Eliminate warnings about using non-tuple indexes in Numpy arrays.
- REBIN exactness HOT 9
- Missing setup.py in PyPI tarball HOT 3
- Custom sdist command is not fully compatible with build
- [1.0.0rc2] test_yanny fails on big endian machines HOT 2
- Unexpected iaxis argument in call to djs_maskinterp() HOT 1
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 pydl.