|
| 1 | +package com.bc.fiduceo.reader.smos; |
| 2 | + |
| 3 | +import com.bc.fiduceo.core.Dimension; |
| 4 | +import com.bc.fiduceo.core.Interval; |
| 5 | +import com.bc.fiduceo.geometry.Polygon; |
| 6 | +import com.bc.fiduceo.location.PixelLocator; |
| 7 | +import com.bc.fiduceo.reader.AcquisitionInfo; |
| 8 | +import com.bc.fiduceo.reader.Reader; |
| 9 | +import com.bc.fiduceo.reader.ReaderContext; |
| 10 | +import com.bc.fiduceo.reader.snap.SNAP_PixelLocator; |
| 11 | +import com.bc.fiduceo.reader.time.TimeLocator; |
| 12 | +import org.esa.snap.core.datamodel.CrsGeoCoding; |
| 13 | +import org.geotools.referencing.CRS; |
| 14 | +import org.opengis.referencing.FactoryException; |
| 15 | +import org.opengis.referencing.crs.CoordinateReferenceSystem; |
| 16 | +import org.opengis.referencing.operation.TransformException; |
| 17 | +import ucar.ma2.Array; |
| 18 | +import ucar.ma2.ArrayInt; |
| 19 | +import ucar.ma2.InvalidRangeException; |
| 20 | +import ucar.nc2.Variable; |
| 21 | + |
| 22 | +import java.io.File; |
| 23 | +import java.io.IOException; |
| 24 | +import java.util.Iterator; |
| 25 | +import java.util.List; |
| 26 | +import java.util.Set; |
| 27 | + |
| 28 | +public class SmosL1CDailyGriddedReader implements Reader { |
| 29 | + public SmosL1CDailyGriddedReader(ReaderContext readerContext) { |
| 30 | + |
| 31 | + } |
| 32 | + |
| 33 | + @Override |
| 34 | + public void open(File file) throws IOException { |
| 35 | + throw new IllegalStateException("not implemented"); |
| 36 | + } |
| 37 | + |
| 38 | + @Override |
| 39 | + public void close() throws IOException { |
| 40 | + throw new IllegalStateException("not implemented"); |
| 41 | + } |
| 42 | + |
| 43 | + @Override |
| 44 | + public AcquisitionInfo read() throws IOException { |
| 45 | + throw new IllegalStateException("not implemented"); |
| 46 | + } |
| 47 | + |
| 48 | + @Override |
| 49 | + public String getRegEx() { |
| 50 | + return "SM_RE07_MIR_CDF3T[AD]_(\\d{8}T\\d{6}_){2}\\d{3}_\\d{3}_\\d{1}.tgz"; |
| 51 | + } |
| 52 | + |
| 53 | + @Override |
| 54 | + public PixelLocator getPixelLocator() throws IOException { |
| 55 | + throw new IllegalStateException("not implemented"); |
| 56 | + } |
| 57 | + |
| 58 | + @Override |
| 59 | + public PixelLocator getSubScenePixelLocator(Polygon sceneGeometry) throws IOException { |
| 60 | + throw new IllegalStateException("not implemented"); |
| 61 | + } |
| 62 | + |
| 63 | + @Override |
| 64 | + public TimeLocator getTimeLocator() throws IOException { |
| 65 | + throw new IllegalStateException("not implemented"); |
| 66 | + } |
| 67 | + |
| 68 | + @Override |
| 69 | + public int[] extractYearMonthDayFromFilename(String fileName) { |
| 70 | + throw new IllegalStateException("not implemented"); |
| 71 | + } |
| 72 | + |
| 73 | + @Override |
| 74 | + public Array readRaw(int centerX, int centerY, Interval interval, String variableName) throws IOException, InvalidRangeException { |
| 75 | + throw new IllegalStateException("not implemented"); |
| 76 | + } |
| 77 | + |
| 78 | + @Override |
| 79 | + public Array readScaled(int centerX, int centerY, Interval interval, String variableName) throws IOException, InvalidRangeException { |
| 80 | + throw new IllegalStateException("not implemented"); |
| 81 | + } |
| 82 | + |
| 83 | + @Override |
| 84 | + public ArrayInt.D2 readAcquisitionTime(int x, int y, Interval interval) throws IOException, InvalidRangeException { |
| 85 | + throw new IllegalStateException("not implemented"); |
| 86 | + } |
| 87 | + |
| 88 | + @Override |
| 89 | + public List<Variable> getVariables() throws InvalidRangeException, IOException { |
| 90 | + throw new IllegalStateException("not implemented"); |
| 91 | + } |
| 92 | + |
| 93 | + @Override |
| 94 | + public Dimension getProductSize() throws IOException { |
| 95 | + throw new IllegalStateException("not implemented"); |
| 96 | + } |
| 97 | + |
| 98 | + @Override |
| 99 | + public String getLongitudeVariableName() { |
| 100 | + throw new IllegalStateException("not implemented"); |
| 101 | + } |
| 102 | + |
| 103 | + @Override |
| 104 | + public String getLatitudeVariableName() { |
| 105 | + throw new IllegalStateException("not implemented"); |
| 106 | + } |
| 107 | +} |
0 commit comments