Omaha #4260 Updated gridproduct URI string, URI's were wrong and never matched.
Change-Id: I9940d4118f783debb12db0758e7c54e96f02ac68 Former-commit-id: e53a51ad872e1476f3a4a9e517f20ddaedd625fa
This commit is contained in:
parent
b34c50594f
commit
7e93129324
1 changed files with 7 additions and 5 deletions
|
@ -47,6 +47,7 @@ import com.raytheon.uf.edex.plugin.scan.ScanURIFilter;
|
|||
* Mar 2, 2012 bsteffen Initial creation
|
||||
* Jun 21, 2013 7613 zhao Modified getGridSQL()
|
||||
* Apr 24, 2014 2060 njensen Updates for removal of grid dataURI column
|
||||
* Apr 17, 2015 4260 dhladky Update default SCAN models to HRRR
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -81,7 +82,7 @@ public abstract class GridProduct extends ScanProduct {
|
|||
protected static Pattern getGridPattern(String dataset, String parameter,
|
||||
String levelName, String levelOne, String levelTwo) {
|
||||
// Format =
|
||||
// /pluginName/time/datasetId/secondaryId/locationName/parameterAbbr/levelName/levelOne/levelTwo/perturbation
|
||||
// /pluginName/time/datasetId/secondaryId/ensembleID/gridID/parameterAbbr/levelName/levelOne/levelTwo
|
||||
StringBuilder pattern = new StringBuilder("^");
|
||||
// pluginName
|
||||
pattern.append(uriSeparator);
|
||||
|
@ -95,7 +96,10 @@ public abstract class GridProduct extends ScanProduct {
|
|||
// secondaryId
|
||||
pattern.append(uriSeparator);
|
||||
pattern.append(".*");
|
||||
// locationName
|
||||
// ensemble ID
|
||||
pattern.append(uriSeparator);
|
||||
pattern.append(".*");
|
||||
// grid ID
|
||||
pattern.append(uriSeparator);
|
||||
pattern.append(".*");
|
||||
// parameterAbbr
|
||||
|
@ -110,9 +114,7 @@ public abstract class GridProduct extends ScanProduct {
|
|||
// levelTwo
|
||||
pattern.append(uriSeparator);
|
||||
pattern.append(levelTwo);
|
||||
// perturbation
|
||||
pattern.append(uriSeparator);
|
||||
pattern.append("null");
|
||||
|
||||
return Pattern.compile(pattern.toString());
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue