Merge "Issue #1387 updated style rules for RFC-FFG products, fixed never ending Requesting Gridded Data when RFC-FFG is loaded" into development
Former-commit-id:e1eb022847
[formerly60de2da63d
] [formerly9086b40a2f
] [formerlye1eb022847
[formerly60de2da63d
] [formerly9086b40a2f
] [formerlycef8be2e64
[formerly9086b40a2f
[formerly bec1c58fdbea0aff7bfaace01d0bb0274f5c0643]]]] Former-commit-id:cef8be2e64
Former-commit-id:be2b9604fa
[formerly691db16613
] [formerly 976134b7009f1e0e7c2030149311de111c1ea507 [formerly30eec037c3
]] Former-commit-id: 5f7ff8a09dace89fe8cac2e21e9fb2a1e2449880 [formerlydd36773776
] Former-commit-id:51c0a0efed
This commit is contained in:
commit
9817b58dac
2 changed files with 10 additions and 5 deletions
|
@ -4519,16 +4519,14 @@
|
||||||
</paramLevelMatches>
|
</paramLevelMatches>
|
||||||
<imageStyle>
|
<imageStyle>
|
||||||
<displayUnits>in</displayUnits>
|
<displayUnits>in</displayUnits>
|
||||||
<range levelScale="LOG">
|
<range>
|
||||||
<minValue>0.0</minValue>
|
<minValue>0.0</minValue>
|
||||||
<!-- <maxValue>16</maxValue>-->
|
<maxValue>16</maxValue>
|
||||||
</range>
|
</range>
|
||||||
<defaultColormap>Grid/gridded data</defaultColormap>
|
<defaultColormap>Grid/gridded data</defaultColormap>
|
||||||
<!--
|
|
||||||
<colorbarLabeling>
|
<colorbarLabeling>
|
||||||
<values>1 2 4 6 6.667 10 12 15</values>
|
<increment>2</increment>
|
||||||
</colorbarLabeling>
|
</colorbarLabeling>
|
||||||
-->
|
|
||||||
</imageStyle>
|
</imageStyle>
|
||||||
</styleRule>
|
</styleRule>
|
||||||
<styleRule>
|
<styleRule>
|
||||||
|
|
|
@ -91,6 +91,13 @@ class GridDataRequestJob extends Job {
|
||||||
for (GridDataRequest request = getNext(); request != null; request = getNext()) {
|
for (GridDataRequest request = getNext(); request != null; request = getNext()) {
|
||||||
try {
|
try {
|
||||||
request.gridData = resource.getData(request.time, request.pdos);
|
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();
|
resource.issueRefresh();
|
||||||
} catch (VizException e) {
|
} catch (VizException e) {
|
||||||
synchronized (requests) {
|
synchronized (requests) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue