From 325f31f6efb03dc9414f56817dcd6ae5bde026ea Mon Sep 17 00:00:00 2001 From: Jason Burks Date: Fri, 21 Nov 2014 16:49:20 +0000 Subject: [PATCH] VLab Issue #5240 - Baseline LMA; fixes #5240 Made changes suggested by Ben S. Made other changes suggested by Ben S. Made changes suggested by Richard Peter. Made change from Ben S. Change-Id: Ic7eb146c30d8024b34782187318e79882fc963bd Former-commit-id: a941dd68c3c5b42671ad78900d6d8f8231d70810 --- edexOsgi/build.edex/edex/common.properties | 2 +- .../feature.xml | 22 +- .../.classpath | 7 + .../.project | 28 + .../META-INF/MANIFEST.MF | 22 + .../build.properties | 5 + .../res/spring/lma-common.xml | 8 + .../res/spring/lma-ingest.xml | 50 ++ .../sport/edex/plugin/lma/LmaDecoder.java | 325 +++++++ .../edex/plugin/lma/util/LMAVarsDict.java | 86 ++ .../sport/edex/plugin/lma/util/LmaVar.java | 44 + .../plugin/lma/util/LmaVarsContainer.java | 43 + .../common_static/base/bundles/lma.xml | 52 ++ .../base/colormaps/lma/nalma.cmap | 261 ++++++ .../common_static/base/menus/lma/index.xml | 7 + .../common_static/base/menus/lma/lma.xml | 831 ++++++++++++++++++ .../base/purge/gridPurgeRulesLMA.xml | 61 ++ .../styleRules/lma/lmaImageryStyleRules.xml | 73 ++ .../base/distribution/sportlma.xml | 23 + .../utility/edex_static/base/lma/lmaVars.xml | 13 + .../.project | 17 + .../build.properties | 1 + .../feature.xml | 26 + 23 files changed, 1993 insertions(+), 14 deletions(-) create mode 100755 edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/.classpath create mode 100755 edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/.project create mode 100755 edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/META-INF/MANIFEST.MF create mode 100755 edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/build.properties create mode 100755 edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/res/spring/lma-common.xml create mode 100755 edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/res/spring/lma-ingest.xml create mode 100755 edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/src/gov/nasa/msfc/sport/edex/plugin/lma/LmaDecoder.java create mode 100644 edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/src/gov/nasa/msfc/sport/edex/plugin/lma/util/LMAVarsDict.java create mode 100644 edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/src/gov/nasa/msfc/sport/edex/plugin/lma/util/LmaVar.java create mode 100644 edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/src/gov/nasa/msfc/sport/edex/plugin/lma/util/LmaVarsContainer.java create mode 100644 edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/bundles/lma.xml create mode 100644 edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/colormaps/lma/nalma.cmap create mode 100644 edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/menus/lma/index.xml create mode 100644 edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/menus/lma/lma.xml create mode 100644 edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/purge/gridPurgeRulesLMA.xml create mode 100644 edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/styleRules/lma/lmaImageryStyleRules.xml create mode 100755 edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/edex_static/base/distribution/sportlma.xml create mode 100644 edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/edex_static/base/lma/lmaVars.xml create mode 100644 edexOsgi/gov.nasa.msfc.sport.edex.sportlma.feature/.project create mode 100644 edexOsgi/gov.nasa.msfc.sport.edex.sportlma.feature/build.properties create mode 100644 edexOsgi/gov.nasa.msfc.sport.edex.sportlma.feature/feature.xml diff --git a/edexOsgi/build.edex/edex/common.properties b/edexOsgi/build.edex/edex/common.properties index 918922de66..d2b4acfae7 100644 --- a/edexOsgi/build.edex/edex/common.properties +++ b/edexOsgi/build.edex/edex/common.properties @@ -1,7 +1,7 @@ edex.root.directory=/awips2/edex architecture=x86_64 -includegen.filter=raytheon|noaa\.nws|noaa\.gsd +includegen.filter=raytheon|noaa\.nws|noaa\.gsd|gov\.nasa\.msfc # AWIPSII core repositores required for build core.repositories=ufcore,ufcore-foss,AWIPS2_foss diff --git a/edexOsgi/com.raytheon.edex.feature.uframe/feature.xml b/edexOsgi/com.raytheon.edex.feature.uframe/feature.xml index 5513565f86..8db88087f1 100644 --- a/edexOsgi/com.raytheon.edex.feature.uframe/feature.xml +++ b/edexOsgi/com.raytheon.edex.feature.uframe/feature.xml @@ -71,13 +71,6 @@ - - - - - - + + - + @@ -136,4 +128,8 @@ id="com.raytheon.uf.edex.remote.script.feature" version="0.0.0"/> + + diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/.classpath b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/.classpath new file mode 100755 index 0000000000..ad32c83a78 --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/.project b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/.project new file mode 100755 index 0000000000..dd1de7171d --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/.project @@ -0,0 +1,28 @@ + + + gov.nasa.msfc.sport.edex.plugin.lma + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/META-INF/MANIFEST.MF b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/META-INF/MANIFEST.MF new file mode 100755 index 0000000000..8e25766996 --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/META-INF/MANIFEST.MF @@ -0,0 +1,22 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Lma Plug-in +Bundle-SymbolicName: gov.nasa.msfc.sport.edex.plugin.lma +Bundle-Version: 1.0.0 +Bundle-Vendor: NASA SPoRT +Require-Bundle: com.raytheon.edex.common, + com.raytheon.uf.edex.decodertools, + org.geotools, + ucar.nc2, + com.raytheon.uf.common.dataplugin.grid, + com.raytheon.uf.edex.plugin.level, + org.apache.commons.logging +Export-Package: gov.nasa.msfc.sport.edex.plugin.lma +Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Import-Package: com.raytheon.uf.common.localization, + com.raytheon.uf.common.menus, + com.raytheon.uf.common.menus.xml, + com.raytheon.uf.common.status, + com.raytheon.uf.edex.awipstools, + ucar.ma2, + ucar.nc2 diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/build.properties b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/build.properties new file mode 100755 index 0000000000..5791d48d5f --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + res/ diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/res/spring/lma-common.xml b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/res/spring/lma-common.xml new file mode 100755 index 0000000000..38c1c3d6e4 --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/res/spring/lma-common.xml @@ -0,0 +1,8 @@ + + + + + + \ No newline at end of file diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/res/spring/lma-ingest.xml b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/res/spring/lma-ingest.xml new file mode 100755 index 0000000000..f33e729fac --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/res/spring/lma-ingest.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sportlma + + + + + + + + + java.lang.Throwable + + + + + + diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/src/gov/nasa/msfc/sport/edex/plugin/lma/LmaDecoder.java b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/src/gov/nasa/msfc/sport/edex/plugin/lma/LmaDecoder.java new file mode 100755 index 0000000000..31b3857dff --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/src/gov/nasa/msfc/sport/edex/plugin/lma/LmaDecoder.java @@ -0,0 +1,325 @@ +package gov.nasa.msfc.sport.edex.plugin.lma; + + +import gov.nasa.msfc.sport.edex.plugin.lma.util.LMAVarsDict; + +import java.io.File; +import java.util.ArrayList; +import java.util.Date; +import java.util.Iterator; +import java.util.List; + +import org.geotools.geometry.GeneralDirectPosition; +import org.geotools.referencing.CRS; +import org.geotools.referencing.crs.DefaultGeographicCRS; +import org.opengis.referencing.crs.CoordinateReferenceSystem; +import org.opengis.referencing.crs.ProjectedCRS; +import org.opengis.referencing.operation.MathTransform; + +import ucar.ma2.Array; +import ucar.ma2.IndexIterator; +import ucar.nc2.Attribute; +import ucar.nc2.NetcdfFile; +import ucar.nc2.Variable; +import ucar.units.SI; + +import com.raytheon.edex.exception.DecoderException; +import com.raytheon.edex.plugin.AbstractDecoder; +import com.raytheon.uf.common.dataplugin.PluginDataObject; +import com.raytheon.uf.common.dataplugin.grid.GridRecord; +import com.raytheon.uf.common.dataplugin.level.Level; +import com.raytheon.uf.common.dataplugin.level.MasterLevel; +import com.raytheon.uf.common.gridcoverage.Corner; +import com.raytheon.uf.common.gridcoverage.GridCoverage; +import com.raytheon.uf.common.gridcoverage.LambertConformalGridCoverage; +import com.raytheon.uf.common.gridcoverage.lookup.GridCoverageLookup; +import com.raytheon.uf.common.parameter.Parameter; +import com.raytheon.uf.common.parameter.lookup.ParameterLookup; +import com.raytheon.uf.common.status.IUFStatusHandler; +import com.raytheon.uf.common.status.UFStatus; +import com.raytheon.uf.common.time.DataTime; +import com.raytheon.uf.common.time.TimeRange; +import com.raytheon.uf.common.time.util.TimeUtil; +import com.raytheon.uf.common.util.ArraysUtil; +import com.raytheon.uf.edex.plugin.level.dao.LevelDao; + + +/** + * The Class LmaDecoder decodes the files created by the lightning mapping arrays that is outputted in netcdf format. Files are + * in netcdf 3 format. And contain the headers that have needed information. + */ +public class LmaDecoder { + private static final transient IUFStatusHandler statusHandler = UFStatus + .getHandler(LmaDecoder.class); + /** The grid coverage lookup is a utility class that helps to define grid of the lma output data. */ + public GridCoverageLookup gridCoverageLookup; + + /** The level dao allows looking up of the levels. */ + public LevelDao levelDao; + + /** The Lma Vars Dict helps to match up variables in the configuration files in the localization. This allows controls of what files to lookup + * allows looking up of the Variables and names. */ + private LMAVarsDict lmaVarsDict; + + /** The Param lookup allows looking up of the parameters in the database. */ + private ParameterLookup paramLookup; + + public LmaDecoder() throws DecoderException{ + + paramLookup = ParameterLookup.getInstance(); + + lmaVarsDict = LMAVarsDict.getInstance(); + } + + /** + * Decode the LMA netcdf 3 files. These files contain gridded data at 17 vertical levels. The first level is the sum of all levels. + * + * @param fileInput the file input + * @return the plugin data object[] + * @throws Exception the exception + */ + public PluginDataObject[] decode(File fileInput) throws Exception { + //Create an empty records to hold the data once decoded. + GridRecord[] records = null; + + //Open the netcdf file for reading. + NetcdfFile file = NetcdfFile.open(fileInput.getAbsolutePath()); + try { + //Read in time related attributes + Attribute validTimeAtt = file.findGlobalAttribute("validTimeInMilliSecondsSinceEpoch"); + Attribute timeSpanAtt = file.findGlobalAttribute("timespan"); + int timespan = timeSpanAtt.getNumericValue().intValue(); + Date date = new Date(); + date.setTime(validTimeAtt.getNumericValue().longValue()); + TimeRange range = new TimeRange(date.getTime(),date.getTime()+(timespan*1000)-1); + DataTime dataTime = new DataTime(date); + + //Read global attributes about the grid itself for use later. +// Attribute lowerLeftLatAtt = file.findGlobalAttribute("lllat"); +// Attribute lowerLeftLonAtt = file.findGlobalAttribute("lllon"); +// Attribute upperRightLatAtt = file.findGlobalAttribute("urlat"); +// Attribute upperRightLonAtt = file.findGlobalAttribute("urlon"); +// float upperLeftLon= lowerLeftLonAtt.getNumericValue().floatValue(); +// float upperLeftLat= upperRightLatAtt.getNumericValue().floatValue(); +// float lowerRightLon= upperRightLonAtt.getNumericValue().floatValue(); +// float lowerRightLat= lowerLeftLatAtt.getNumericValue().floatValue(); + + //Read Global attributes to help with define grid + Attribute centerLatAtt = file.findGlobalAttribute("clat"); + float centerLat= centerLatAtt.getNumericValue().floatValue(); + Attribute centerLonAtt = file.findGlobalAttribute("clon"); + float centerLon= centerLonAtt.getNumericValue().floatValue(); + Attribute xresAtt = file.findGlobalAttribute("xres_m"); + float dx = xresAtt.getNumericValue().floatValue(); + Attribute yresAtt = file.findGlobalAttribute("yres_m"); + float dy= yresAtt.getNumericValue().floatValue(); + int nx = file.findDimension("x").getLength(); + int ny = file.findDimension("y").getLength(); + int nz = file.findDimension("levels_17").getLength(); + //Construct the grid coverage with attributes + GridCoverage cov =createMapCoverage(centerLon, centerLat, nx, ny, dx, dy); + //Lookup Coverage to make sure it does not already exist in the db. + cov = gridCoverageLookup.getCoverage(cov, true); + //Get network name for the LMA. + Attribute networkNameAtt = file.findGlobalAttribute("networkName"); + + //Find variables + List vars = file.getVariables(); + Iterator varIter = vars.iterator(); + ArrayList varsToProcessList = new ArrayList(); + //Compare the variables in the files to the variables we accept based on localization file + while (varIter.hasNext()) { + Variable tempVar = varIter.next(); + if (lmaVarsDict.isVarSupported(tempVar.getFullName())) { + varsToProcessList.add(tempVar.getFullName()); + } + } + + int sizeOfVariablesToProcess =varsToProcessList.size(); + + String[] listOfVariablesToProcess = new String[sizeOfVariablesToProcess]; + varsToProcessList.toArray(listOfVariablesToProcess); + // + //Create initial Grid Record array + int count =0; + records = new GridRecord[sizeOfVariablesToProcess*nz]; + //Iterate over variables and create GridRecords for each variable and level + for (int i = 0; i dictVarToLmaVar; + + public LMAVarsDict() { + dictVarToLmaVar = new LinkedHashMap(); + loadVarsFiles(); + } + + public static LMAVarsDict getInstance() { + if (instance == null) { + instance = new LMAVarsDict(); + } + return instance; + } + + public boolean isVarSupported(String var) { + return dictVarToLmaVar.containsKey(var); + } + + public String getVarForStorage(String var) { + return dictVarToLmaVar.get(var).getAvar(); + } + + public String getVarNameForStorage(String var) { + return dictVarToLmaVar.get(var).getLongname(); + } + + + private void loadVarsFiles() { + IPathManager pathMgr = PathManagerFactory.getPathManager(); + Map tieredMap = pathMgr + .getTieredLocalizationFile(LocalizationType.EDEX_STATIC, + LMA_VARS_FILE); + + LocalizationLevel[] levels = pathMgr.getAvailableLevels(); + for (LocalizationLevel level : levels) { + LocalizationFile file = tieredMap.get(level); + if (file != null) { + try { + loadFile(file.getFile()); + } catch (Throwable e) { + statusHandler.error("Unable to load site lma vars" + + file.getFile().getAbsolutePath(), e); + } + } + } + } + + + private void loadFile(File file) { + if (file == null || !file.exists()) { + return; + } + LmaVarsContainer list = JAXB.unmarshal(file, + LmaVarsContainer.class); + for (LmaVar var : list.getLmaVars()) { + dictVarToLmaVar.put(var.getName(), var); + } + statusHandler.debug("Successfully loaded lma vars from " + + file.getAbsolutePath()); + } + +} diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/src/gov/nasa/msfc/sport/edex/plugin/lma/util/LmaVar.java b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/src/gov/nasa/msfc/sport/edex/plugin/lma/util/LmaVar.java new file mode 100644 index 0000000000..7e82505e93 --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/src/gov/nasa/msfc/sport/edex/plugin/lma/util/LmaVar.java @@ -0,0 +1,44 @@ +package gov.nasa.msfc.sport.edex.plugin.lma.util; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; + + +@XmlAccessorType(XmlAccessType.NONE) +@XmlRootElement +public class LmaVar { + + @XmlAttribute + private String name; + + @XmlAttribute + private String avar; + + @XmlAttribute + private String longname; + + public LmaVar() { + + } + + public String getName() { + return name; + } + public void setName(String name) { + this.name = name; + } + public String getAvar() { + return avar; + } + public void setAvar(String avar) { + this.avar = avar; + } + public String getLongname() { + return longname; + } + public void setLongname(String longname) { + this.longname = longname; + } +} diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/src/gov/nasa/msfc/sport/edex/plugin/lma/util/LmaVarsContainer.java b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/src/gov/nasa/msfc/sport/edex/plugin/lma/util/LmaVarsContainer.java new file mode 100644 index 0000000000..8293db6740 --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/src/gov/nasa/msfc/sport/edex/plugin/lma/util/LmaVarsContainer.java @@ -0,0 +1,43 @@ +package gov.nasa.msfc.sport.edex.plugin.lma.util; + +import java.util.ArrayList; +import java.util.List; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; + +import com.raytheon.uf.common.serialization.annotations.DynamicSerialize; +import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement; + + +@DynamicSerialize +@XmlAccessorType(XmlAccessType.NONE) +@XmlRootElement(name = "lmaVarsContainer") +public class LmaVarsContainer { + + @XmlElement(name = "lmaVar") + @DynamicSerializeElement + private List lmaVars; + + public LmaVarsContainer() { + lmaVars = new ArrayList(); + } + + public LmaVarsContainer(int initialSize) { + lmaVars = new ArrayList(initialSize); + } + + public List getLmaVars() { + return lmaVars; + } + + public void setLmaVar(List lmaVars) { + this.lmaVars = lmaVars; + } + + public void add(LmaVar lmaVar) { + lmaVars.add(lmaVar); + } +} diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/bundles/lma.xml b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/bundles/lma.xml new file mode 100644 index 0000000000..3615ff43a2 --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/bundles/lma.xml @@ -0,0 +1,52 @@ + + + + + + + + PLAN_VIEW + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/colormaps/lma/nalma.cmap b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/colormaps/lma/nalma.cmap new file mode 100644 index 0000000000..af7db68192 --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/colormaps/lma/nalma.cmap @@ -0,0 +1,261 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/menus/lma/index.xml b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/menus/lma/index.xml new file mode 100644 index 0000000000..752ed0c857 --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/menus/lma/index.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/menus/lma/lma.xml b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/menus/lma/lma.xml new file mode 100644 index 0000000000..b119b7adb5 --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/menus/lma/lma.xml @@ -0,0 +1,831 @@ + + + + + + + /grid/NALMA/%/%/lmasd + + + + + + + + /grid/NALMA/%/%/lmamsd + + + + + + + + /grid/NALMA/%/%/lmafed + + + + + + + + /grid/NALMA/%/%/lmafid + + + + + + + + /grid/NALMA/%/%/lmamfd + + + + + + + + /grid/NALMA/%/%/lmaroc + + + + + + + + + + /grid/DCLMA/%/%/lmasd + + + + + + + + /grid/DCLMA/%/%/lmafed + + + + + + + + /grid/DCLMA/%/%/lmafid + + + + + + + + /grid/DCLMA/%/%/lmamfd + + + + + + + + + + + /grid/KLDAR/%/%/lmasd + + + + + + + + /grid/KLDAR/%/%/lmafed + + + + + + + + /grid/KLDAR/%/%/lmafid + + + + + + + + /grid/KLDAR/%/%/lmamfd + + + + + + + + + + + /grid/OKLMA/%/%/lmasd + + + + + + + + /grid/OKLMA/%/%/lmafed + + + + + + + + /grid/OKLMA/%/%/lmafid + + + + + + + + /grid/OKLMA/%/%/lmamfd + + + + + + + + + + + /grid/COLMA/%/%/lmasd + + + + + + + + /grid/COLMA/%/%/lmafed + + + + + + + + /grid/COLMA/%/%/lmafid + + + + + + + + /grid/COLMA/%/%/lmamfd + + + + + + + + + + + /grid/HGLMA/%/%/lmasd + + + + + + + + /grid/HGLMA/%/%/lmafed + + + + + + + + /grid/HGLMA/%/%/lmafid + + + + + + + + /grid/HGLMA/%/%/lmamfd + + + + + + + + + + + /grid/WTLMA/%/%/lmasd + + + + + + + + /grid/WTLMA/%/%/lmafed + + + + + + + + /grid/WTLMA/%/%/lmafid + + + + + + + + /grid/WTLMA/%/%/lmamfd + + + + + + + + + + + /grid/CFLMA/%/%/lmasd + + + + + + + + /grid/CFLMA/%/%/lmafed + + + + + + + + /grid/CFLMA/%/%/lmafid + + + + + + + + /grid/CFLMA/%/%/lmamfd + + + + + + + + + + + /grid/LLLMA/%/%/lmasd + + + + + + + + /grid/LLLMA/%/%/lmafed + + + + + + + + /grid/LLLMA/%/%/lmafid + + + + + + + + /grid/LLLMA/%/%/lmamfd + + + + + + + + + + + + /grid/KSCLMA/%/%/lmasd + + + + + + + + /grid/KSCLMA/%/%/lmafed + + + + + + + + /grid/KSCLMA/%/%/lmafid + + + + + + + + /grid/KSCLMA/%/%/lmamfd + + + + + + + + + + + /grid/NGLMA/%/%/lmasd + + + + + + + + /grid/NGLMA/%/%/lmafed + + + + + + + + /grid/NGLMA/%/%/lmafid + + + + + + + + /grid/NGLMA/%/%/lmamfd + + + + + + + + + + + /grid/ONLMA/%/%/lmasd + + + + + + + + /grid/ONLMA/%/%/lmafed + + + + + + + + /grid/ONLMA/%/%/lmafid + + + + + + + + /grid/ONLMA/%/%/lmamfd + + + + + + + + + + + /grid/WILMA/%/%/lmasd + + + + + + + + /grid/WILMA/%/%/lmafed + + + + + + + + /grid/WILMA/%/%/lmafid + + + + + + + + /grid/WILMA/%/%/lmamfd + + + + + + + + + + + /grid/WSLMA/%/%/lmasd + + + + + + + + /grid/WSLMA/%/%/lmafed + + + + + + + + /grid/WSLMA/%/%/lmafid + + + + + + + + /grid/WSLMA/%/%/lmamfd + + + + + + + + + + + + + /grid/PGNA/%/%/lmafed + + + + + + + + /grid/PGNA/%/%/lmafid + + + + + + + + /grid/PGNA/%/%/lmamfd + + + + + + + + /grid/PGNA/%/%/lmasum + + + + + + + + + + + /grid/PGDC/%/%/lmafed + + + + + + + + /grid/PGDC/%/%/lmafid + + + + + + + + /grid/PGDC/%/%/lmamfd + + + + + + + + /grid/PGDC/%/%/lmasum + + + + + + + + + + + /grid/PGSC/%/%/lmafed + + + + + + + + /grid/PGSC/%/%/lmafid + + + + + + + + /grid/PGSC/%/%/lmamfd + + + + + + + + /grid/PGSC/%/%/lmasum + + + + + + + + + + + /grid/PGOK/%/%/lmafed + + + + + + + + /grid/PGOK/%/%/lmafid + + + + + + + + /grid/PGOK/%/%/lmamfd + + + + + + + + /grid/PGOK/%/%/lmasum + + + + + + + + + + + /grid/PGCO/%/%/lmafed + + + + + + + + /grid/PGCO/%/%/lmafid + + + + + + + + /grid/PGCO/%/%/lmamfd + + + + + + + + /grid/PGCO/%/%/lmasum + + + + + + + + + + + /grid/PGHG/%/%/lmafed + + + + + + + + /grid/PGHG/%/%/lmafid + + + + + + + + /grid/PGHG/%/%/lmamfd + + + + + + + + /grid/PGHG/%/%/lmasum + + + + + + + + + + + /grid/PGWT/%/%/lmafed + + + + + + + + /grid/PGWT/%/%/lmafid + + + + + + + + /grid/PGWT/%/%/lmamfd + + + + + + + + /grid/PGWT/%/%/lmasum + + + + + + + + + + + /grid/PGCF/%/%/lmafed + + + + + + + + /grid/PGCF/%/%/lmafid + + + + + + + + /grid/PGCF/%/%/lmamfd + + + + + + + + /grid/PGCF/%/%/lmasum + + + + + + + + + + + /grid/PGLL/%/%/lmafed + + + + + + + + /grid/PGLL/%/%/lmafid + + + + + + + + /grid/PGLL/%/%/lmamfd + + + + + + + + /grid/PGLL/%/%/lmasum + + + + + + + + + + + + diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/purge/gridPurgeRulesLMA.xml b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/purge/gridPurgeRulesLMA.xml new file mode 100644 index 0000000000..76663c69a8 --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/purge/gridPurgeRulesLMA.xml @@ -0,0 +1,61 @@ + + + info.datasetId + + + NALMA + 90 + + + DCLMA + 90 + + + KLDAR + 90 + + + OKLMA + 90 + + + COLMA + 90 + + + HGLMA + 90 + + + WTLMA + 90 + + + CFLMA + 90 + + + LLLMA + 90 + + + KSCLMA + 90 + + + NGLMA + 90 + + + ONLMA + 90 + + + WILMA + 90 + + + WSLMA + 90 + + \ No newline at end of file diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/styleRules/lma/lmaImageryStyleRules.xml b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/styleRules/lma/lmaImageryStyleRules.xml new file mode 100644 index 0000000000..a205e89da4 --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/common_static/base/styleRules/lma/lmaImageryStyleRules.xml @@ -0,0 +1,73 @@ + + + + + lmasd + + + + 50.0 100.0 150.0 200.0 + + lma/nalma + + 0.0 + 500.0 + + + + + + + lmamsd + + + + 50.0 100.0 150.0 + + lma/nalma + + 0.0 + 200.0 + + + + + + + lmafed + lmafid + lmamfd + lmasum + + + + 10.0 20.0 30.0 + + lma/nalma + + 0.0 + 110.0 + + + + + + + lmaroc + NALMA + + + + -1.0 0.0 1.0 + + lma/nalma + + -3.0 + 3.0 + + + + + + + diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/edex_static/base/distribution/sportlma.xml b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/edex_static/base/distribution/sportlma.xml new file mode 100755 index 0000000000..e139f7bb41 --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/edex_static/base/distribution/sportlma.xml @@ -0,0 +1,23 @@ + + + + ^sportlma_ + diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/edex_static/base/lma/lmaVars.xml b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/edex_static/base/lma/lmaVars.xml new file mode 100644 index 0000000000..fc41cb4fcd --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.plugin.lma/utility/edex_static/base/lma/lmaVars.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.sportlma.feature/.project b/edexOsgi/gov.nasa.msfc.sport.edex.sportlma.feature/.project new file mode 100644 index 0000000000..004c8d2064 --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.sportlma.feature/.project @@ -0,0 +1,17 @@ + + + gov.nasa.msfc.sport.edex.sportlma.feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.sportlma.feature/build.properties b/edexOsgi/gov.nasa.msfc.sport.edex.sportlma.feature/build.properties new file mode 100644 index 0000000000..64f93a9f0b --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.sportlma.feature/build.properties @@ -0,0 +1 @@ +bin.includes = feature.xml diff --git a/edexOsgi/gov.nasa.msfc.sport.edex.sportlma.feature/feature.xml b/edexOsgi/gov.nasa.msfc.sport.edex.sportlma.feature/feature.xml new file mode 100644 index 0000000000..eff82c2ec0 --- /dev/null +++ b/edexOsgi/gov.nasa.msfc.sport.edex.sportlma.feature/feature.xml @@ -0,0 +1,26 @@ + + + + + [Enter Feature Description here.] + + + + [Enter Copyright Description here.] + + + + [Enter License Description here.] + + + + +