public class MocReader
extends java.lang.Object
Constructor and Description |
---|
MocReader(java.lang.String file)
Create a MocReader for a given file
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
java.util.List<skyview.survey.MocReader.OrderDesc> |
parse()
Analyze the MOC to find out where the data
for each order is found.
|
void |
show()
Describe basic characteristics of the MOC
|
boolean |
test(int order,
long pixel)
See if there is any overlap between the requested pixel
and the data as indicated in the MOC.
|
public MocReader(java.lang.String file) throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public void show()
public final java.util.List<skyview.survey.MocReader.OrderDesc> parse()
public boolean test(int order, long pixel)
order
- The order of the requested pixel.pixel
- The NESTED index of the requested pixel.