public class RadarServerUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
epic |
static Pattern |
p_yymmdd_hhmm |
static Pattern |
p_yyyymmdd_hhmm |
| Constructor and Description |
|---|
RadarServerUtil() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
convert4to3stations(List<String> stations) |
static String |
findClosestStation(double lat,
double lon,
List<Station> stations)
Find the station closest to the specified point.
|
static String |
getObTimeISO(String product) |
static List<String> |
getStationNames(LatLonRect boundingBox,
List<Station> stations)
Get the list of station names that are contained within the bounding box.
|
static List<String> |
getStationNames(List<Station> stations) |
static String |
hhmm(String dateTime) |
static boolean |
isValidDate(String dateReport,
String dateStart,
String dateEnd) |
static boolean |
isValidDay(String day,
String yyyymmddStart,
String yyyymmddEnd) |
public static final Pattern p_yymmdd_hhmm
public static final Pattern p_yyyymmdd_hhmm
public static final String epic
public static List<String> getStationNames(LatLonRect boundingBox, List<Station> stations)
boundingBox - lat/lon bounding boxpublic static String findClosestStation(double lat, double lon, List<Station> stations)
lat - latitude valuelon - longitude valueCopyright © 1999–2014 UCAR/Unidata. All rights reserved.