public int getNumSweeps() { if(isHighResolution(ds)) { return nsweepsHR + nsweeps; } return nsweeps; }
public int getNumSweeps() { if(isHighResolution(ds)) { return nsweepsHR + nsweeps; } return nsweeps; }
public float[] readData(int ray) throws java.io.IOException { if(!isHighResolution(ds) ) { return rayData(sweepno, ray); } else { if( sweepno >= nsweepsHR ) { int swpNo = sweepno - (nsweepsHR); return rayData(swpNo, ray); } else { return rayData(sweepno, ray); } } }
public float[] readData() throws java.io.IOException { if(!isHighResolution(ds) ) { return sweepData(sweepno); } else { if( sweepno > (nsweepsHR-1) ) { int swpNo = sweepno - nsweepsHR; return sweepData(swpNo); } else { return sweepData(sweepno); } } }
public float[] readData() throws java.io.IOException { if(!isHighResolution(ds) ) { return sweepData(sweepno); } else { if( sweepno > (nsweepsHR-1) ) { int swpNo = sweepno - nsweepsHR; return sweepData(swpNo); } else { return sweepData(sweepno); } } }
public float[] readData(int ray) throws java.io.IOException { if(!isHighResolution(ds) ) { return rayData(sweepno, ray); } else { if( sweepno >= nsweepsHR ) { int swpNo = sweepno - (nsweepsHR); return rayData(swpNo, ray); } else { return rayData(sweepno, ray); } } }
public float getRadialDistance(int gate) throws IOException { String disName = getRadialVarCoordinateName("distance", sweepVar.getShortName()); if(!isHighResolution(ds) ) { return getRadialDist(disName, gate); } else { if( sweepno >= nsweepsHR ) { return getRadialDist(disName, gate); } else { return getRadialDist(disName+"_HI", gate); } } }
public float getAzimuth(int ray) throws IOException { String aziName = getRadialVarCoordinateName("azimuth", sweepVar.getShortName()); if(!isHighResolution(ds) ) { return getAzi(aziName, sweepno, ray); } else { if( sweepno >= nsweepsHR ) { int swpNo = sweepno - (nsweepsHR); return getAzi(aziName, swpNo, ray); } else { return getAzi(aziName+"_HI", sweepno, ray); } } }
public float getRadialDistance(int gate) throws IOException { String disName = getRadialVarCoordinateName("distance", sweepVar.getShortName()); if(!isHighResolution(ds) ) { return getRadialDist(disName, gate); } else { if( sweepno >= nsweepsHR ) { return getRadialDist(disName, gate); } else { return getRadialDist(disName+"_HI", gate); } } }
public void setMeanElevation() { String eleName = getRadialVarCoordinateName("elevation", sweepVar.getShortName()); if(!isHighResolution(ds) ) { setMeanEle(eleName, sweepno); } else { if( sweepno >= nsweepsHR ) { int swpNo = sweepno - (nsweepsHR); setMeanEle(eleName, swpNo); } else { setMeanEle(eleName+"_HI", sweepno); } } }
public float[] getAzimuth() throws IOException { String aziName = getRadialVarCoordinateName("azimuth", sweepVar.getShortName()); if(!isHighResolution(ds) ) { return getAzi(aziName, sweepno); } else { if( sweepno >= nsweepsHR ) { int swpNo = sweepno - (nsweepsHR); return getAzi(aziName, swpNo); } else { return getAzi(aziName+"_HI", sweepno); } } }
public void setMeanElevation() { String eleName = getRadialVarCoordinateName("elevation", sweepVar.getShortName()); if(!isHighResolution(ds) ) { setMeanEle(eleName, sweepno); } else { if( sweepno >= nsweepsHR ) { int swpNo = sweepno - (nsweepsHR); setMeanEle(eleName, swpNo); } else { setMeanEle(eleName+"_HI", sweepno); } } }
public float getTime(int ray) throws IOException { String tName = getRadialVarCoordinateName("time", sweepVar.getShortName()); if(!isHighResolution(ds) ) { return getT(tName, sweepno, ray); } else { if( sweepno >= nsweepsHR ) { int swpNo = sweepno - (nsweepsHR); return getT(tName, swpNo, ray); } else { return getT(tName+"_HI", sweepno,ray); } } }
public float getElevation(int ray) throws IOException { String eleName = getRadialVarCoordinateName("elevation", sweepVar.getShortName()); if(!isHighResolution(ds) ) { return getEle(eleName, sweepno, ray); } else { if( sweepno >= nsweepsHR ) { int swpNo = sweepno - (nsweepsHR); return getEle(eleName, swpNo, ray); } else { return getEle(eleName+"_HI", sweepno, ray); } } }
public void setMeanAzimuth() { String aziName = getRadialVarCoordinateName("azimuth", sweepVar.getShortName()); if(!isHighResolution(ds) ) { setMeanAzi(aziName, sweepno); } else { if( sweepno >= nsweepsHR ) { int swpNo = sweepno - (nsweepsHR); setMeanAzi(aziName, swpNo); } else { setMeanAzi(aziName+"_HI", sweepno); } } }
public float getElevation(int ray) throws IOException { String eleName = getRadialVarCoordinateName("elevation", sweepVar.getShortName()); if(!isHighResolution(ds) ) { return getEle(eleName, sweepno, ray); } else { if( sweepno >= nsweepsHR ) { int swpNo = sweepno - (nsweepsHR); return getEle(eleName, swpNo, ray); } else { return getEle(eleName+"_HI", sweepno, ray); } } }
public void setMeanAzimuth() { String aziName = getRadialVarCoordinateName("azimuth", sweepVar.getShortName()); if(!isHighResolution(ds) ) { setMeanAzi(aziName, sweepno); } else { if( sweepno >= nsweepsHR ) { int swpNo = sweepno - (nsweepsHR); setMeanAzi(aziName, swpNo); } else { setMeanAzi(aziName+"_HI", sweepno); } } }
public float[] getElevation() throws IOException { String eleName = getRadialVarCoordinateName("elevation", sweepVar.getShortName()); if(!isHighResolution(ds) ) { return getEle(eleName, sweepno); } else { if( sweepno >= nsweepsHR ) { int swpNo = sweepno - (nsweepsHR); return getEle(eleName, swpNo); } else { return getEle(eleName+"_HI", sweepno); } } }
public float getTime(int ray) throws IOException { String tName = getRadialVarCoordinateName("time", sweepVar.getShortName()); if(!isHighResolution(ds) ) { return getT(tName, sweepno, ray); } else { if( sweepno >= nsweepsHR ) { int swpNo = sweepno - (nsweepsHR); return getT(tName, swpNo, ray); } else { return getT(tName+"_HI", sweepno,ray); } } }
public float[] getAzimuth() throws IOException { String aziName = getRadialVarCoordinateName("azimuth", sweepVar.getShortName()); if(!isHighResolution(ds) ) { return getAzi(aziName, sweepno); } else { if( sweepno >= nsweepsHR ) { int swpNo = sweepno - (nsweepsHR); return getAzi(aziName, swpNo); } else { return getAzi(aziName+"_HI", sweepno); } } }