12.10.1-7 baseline

Former-commit-id: 7b37cfca85 [formerly 161fb1c0295ff4aa3b78d06ae248255d77a4e886]
Former-commit-id: b754630136
This commit is contained in:
Steve Harris 2012-09-25 10:21:10 -05:00
parent 81d91a8289
commit 2ee78eaf6d
2 changed files with 10 additions and 5 deletions

View file

@ -224,8 +224,14 @@ class Procedure (SmartScript.SmartScript):
hazardKey = selectedHazard
defaultHazKey = ""
if len(defaultSegment) > 0 and defaultHazard is not None:
defaultHazKey = defaultHazard + ":" + defaultSegment
if defaultHazard is not None:
index = string.find(defaultHazard, " ")
if index != -1:
defaultHazard = defaultHazard[0:index]
defaultHazKey = defaultHazard
if len(defaultSegment) > 0:
defaultHazKey += ":" + defaultSegment
weName = self._hazUtils._makeTempWEName(hazardKey)

View file

@ -166,6 +166,8 @@ public class SatelliteMenuUtil extends AbstractMenuUtil {
sub.key = "entity";
sub.value = "GOES%";
((CommonIncludeMenuContribution) file.contributions[0]).substitutions[4] = sub;
toXml(fileOCONUS, "menus" + File.separator + "satellite" + File.separator
+ "baseDerivedProductsImagery.xml");
} else {
// decide on east conus or west conus
((CommonIncludeMenuContribution) file.contributions[0]).fileName = new File(
@ -234,9 +236,6 @@ public class SatelliteMenuUtil extends AbstractMenuUtil {
toXml(file, "menus" + File.separator + "satellite" + File.separator
+ "baseComposite.xml");
toXml(fileOCONUS, "menus" + File.separator + "satellite" + File.separator
+ "baseDerivedProductsImagery.xml");
statusHandler.info("Finished creating satellite menus");
}