sat and radar menu organization
Former-commit-id: 8f8b9dd16ea8ae10522f0f5092dcc20a9676444f [formerly0943c3edd5
] Former-commit-id:698c0b5166
This commit is contained in:
parent
dbe9b8f1d8
commit
affd4212ed
3 changed files with 5 additions and 5 deletions
|
@ -15,7 +15,7 @@
|
|||
id="RadarMenuTwdrRadarsSubMenu">
|
||||
<contribute xsi:type="subinclude" fileName="menus/radar/tdwrRadars.xml" />
|
||||
</contribute>
|
||||
<contribute xsi:type="titleItem" titleText="------ Unidata Composites ------"
|
||||
<contribute xsi:type="titleItem" titleText="------ FNEXRAD Composites ------"
|
||||
id="RadarMosaic" />
|
||||
<!-- Unidata Composite -->
|
||||
<contribute xsi:type="bundleItem" file="bundles/DefaultRadarComposite.xml"
|
||||
|
|
|
@ -235,11 +235,11 @@ public class RadarMenuUtil extends AbstractMenuUtil implements
|
|||
}
|
||||
|
||||
Arrays.sort(menuTemplateFile.contributions);
|
||||
// only want 12 radars in the dial radar menu, otherwise put it in
|
||||
// only want 18 radars in the dial radar menu, otherwise put it in
|
||||
// submenus
|
||||
if (menuTemplateFile.contributions.length > 12) {
|
||||
if (menuTemplateFile.contributions.length > 18) {
|
||||
double numMenus = Math
|
||||
.ceil(((double) menuTemplateFile.contributions.length) / 12);
|
||||
.ceil(((double) menuTemplateFile.contributions.length) / 18);
|
||||
int perMenu = (int) (menuTemplateFile.contributions.length
|
||||
/ numMenus + 1);
|
||||
statusHandler.info("For " + menuTemplateFile.contributions.length
|
||||
|
|
|
@ -505,7 +505,7 @@ public class McidasSatelliteDecoder {
|
|||
private String getAreaName(int areaNumber) {
|
||||
// GOES-West UNIWISC McIDAS AREA files
|
||||
if ( (1161 <= areaNumber && areaNumber <= 1254) ||
|
||||
(1801 <= areaNumber && areaNumber <= 1851) ){
|
||||
(1801 <= areaNumber && areaNumber <= 1854) ){
|
||||
areaNumber = 1161;
|
||||
// GOES-East UNIWISC McIDAS AREA files
|
||||
} else if (1261 <= areaNumber && areaNumber <= 1524) {
|
||||
|
|
Loading…
Add table
Reference in a new issue