Issue #1387 updated style rules for RFC-FFG products, fixed never ending Requesting Gridded Data when RFC-FFG is loaded
Former-commit-id:e44db81177
[formerly 26abcb77b1b1157ce6e8bc5bda28202430f2d4f7] Former-commit-id:95dc87b6cf
This commit is contained in:
parent
5bb646638d
commit
45220299f9
2 changed files with 10 additions and 5 deletions
|
@ -4519,16 +4519,14 @@
|
|||
</paramLevelMatches>
|
||||
<imageStyle>
|
||||
<displayUnits>in</displayUnits>
|
||||
<range levelScale="LOG">
|
||||
<range>
|
||||
<minValue>0.0</minValue>
|
||||
<!-- <maxValue>16</maxValue>-->
|
||||
<maxValue>16</maxValue>
|
||||
</range>
|
||||
<defaultColormap>Grid/gridded data</defaultColormap>
|
||||
<!--
|
||||
<colorbarLabeling>
|
||||
<values>1 2 4 6 6.667 10 12 15</values>
|
||||
<increment>2</increment>
|
||||
</colorbarLabeling>
|
||||
-->
|
||||
</imageStyle>
|
||||
</styleRule>
|
||||
<styleRule>
|
||||
|
|
|
@ -91,6 +91,13 @@ class GridDataRequestJob extends Job {
|
|||
for (GridDataRequest request = getNext(); request != null; request = getNext()) {
|
||||
try {
|
||||
request.gridData = resource.getData(request.time, request.pdos);
|
||||
if (request.gridData == null) {
|
||||
// need to remove unfulfillable requests to avoid infinite
|
||||
// loop.
|
||||
synchronized (requests) {
|
||||
requests.remove(request);
|
||||
}
|
||||
}
|
||||
resource.issueRefresh();
|
||||
} catch (VizException e) {
|
||||
synchronized (requests) {
|
||||
|
|
Loading…
Add table
Reference in a new issue