public class JplQuikScatDodsFileServer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Date |
allowedDateRangeMax |
protected Date |
allowedDateRangeMin |
protected double |
allowedLongitudeRangeMax |
protected double |
allowedLongitudeRangeMin |
protected Calendar |
calendar |
protected Attribute |
catAllowedDateRangeEndAtt |
protected String |
catAllowedDateRangeEndAttName |
protected Attribute |
catAllowedDateRangeStartAtt |
protected String |
catAllowedDateRangeStartAttName |
protected DODSStructure |
catalogSeq |
protected String |
catSeqName |
protected String |
catTitle |
protected Attribute |
catTitleAtt |
protected String |
catTitleAttName |
protected String |
dfsDateStringFormat
The date format used in the DFS DAS for the allowed date range.
|
protected String |
dfsDateTimeFunctionParameterFormat
The date/time format used with the DFS date_time() server-side function.
|
protected String |
dfsDateTimeStringFormat
The date/time format used in the DFS DODS_Date_Time variable.
|
protected String |
dfsUrl |
protected String |
dfsYearDayStringFormat
I don't think this date format is ever used.
|
protected DODSNetcdfFile |
theDfsCatalog |
| Constructor and Description |
|---|
JplQuikScatDodsFileServer()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator |
findMatchingCatalogEntries(JplQuikScatUserQuery request)
Find the catalog entries that match the given user request.
|
Date |
getAllowedDateRangeMax()
Return the date of the maximum point in the allowed date range.
|
Date |
getAllowedDateRangeMin()
Return the date of the minimum point in the allowed date range.
|
double |
getAllowedLongitudeRangeMax()
Return the maximum point in the allowed longitude range.
|
double |
getAllowedLongitudeRangeMin()
Return the inimum point in the allowed longitude range.
|
String |
getCatalogTitle()
Return the title of the DFS catalog.
|
protected Date |
getDateFromDfsDateString(String theDateString)
Return a java.util.Date given a DODS File Server (DFS) DODS_Date "yyyy/mm/dd".
|
protected Date |
getDateFromDfsDateTimeString(String dfsDateString)
Return a java.util.Date given a DODS File Server DODS_Date_Time string.
|
protected String |
getDfsDateTimeFunctionParameterStringFromDate(Date theDate)
Return a date/time string as used in the DFS date_time() server-side function given a java.util.Date.
|
protected String dfsUrl
protected DODSNetcdfFile theDfsCatalog
protected DODSStructure catalogSeq
protected Attribute catTitleAtt
protected Attribute catAllowedDateRangeStartAtt
protected Attribute catAllowedDateRangeEndAtt
protected String catSeqName
protected String catTitleAttName
protected String catAllowedDateRangeStartAttName
protected String catAllowedDateRangeEndAttName
protected String catTitle
protected Date allowedDateRangeMin
protected Date allowedDateRangeMax
protected double allowedLongitudeRangeMin
protected double allowedLongitudeRangeMax
protected String dfsDateStringFormat
protected String dfsDateTimeFunctionParameterFormat
protected String dfsDateTimeStringFormat
protected String dfsYearDayStringFormat
protected Calendar calendar
public JplQuikScatDodsFileServer()
throws IOException
IOException - if DODS file server is not reachable or not returning expected objects.public String getCatalogTitle()
public Date getAllowedDateRangeMin()
public Date getAllowedDateRangeMax()
public double getAllowedLongitudeRangeMin()
public double getAllowedLongitudeRangeMax()
public Iterator findMatchingCatalogEntries(JplQuikScatUserQuery request) throws IOException
request - - the user request.IOExceptionprotected Date getDateFromDfsDateString(String theDateString)
theDateString - - a date string as given in the DFS catalogs DAS for start and end dates.protected Date getDateFromDfsDateTimeString(String dfsDateString)
dfsDateString - - the date string as returned with each catalog entry.NullPointerException - if given argument is null.protected String getDfsDateTimeFunctionParameterStringFromDate(Date theDate)
theDate - - one of the dates to be encoded for use in the DFS date_time() server-side function.NullPointerException - if the given date is null.Copyright © 1999–2013 UCAR/Unidata. All rights reserved.