001/*
002 * This file is part of McIDAS-V
003 *
004 * Copyright 2007-2024
005 * Space Science and Engineering Center (SSEC)
006 * University of Wisconsin - Madison
007 * 1225 W. Dayton Street, Madison, WI 53706, USA
008 * https://www.ssec.wisc.edu/mcidas/
009 * 
010 * All Rights Reserved
011 * 
012 * McIDAS-V is built on Unidata's IDV and SSEC's VisAD libraries, and
013 * some McIDAS-V source code is based on IDV and VisAD source code.  
014 * 
015 * McIDAS-V is free software; you can redistribute it and/or modify
016 * it under the terms of the GNU Lesser Public License as published by
017 * the Free Software Foundation; either version 3 of the License, or
018 * (at your option) any later version.
019 * 
020 * McIDAS-V is distributed in the hope that it will be useful,
021 * but WITHOUT ANY WARRANTY; without even the implied warranty of
022 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
023 * GNU Lesser Public License for more details.
024 * 
025 * You should have received a copy of the GNU Lesser Public License
026 * along with this program.  If not, see https://www.gnu.org/licenses/.
027 */
028
029package edu.wisc.ssec.mcidasv.adt;
030
031import java.lang.String;
032
033import edu.wisc.ssec.mcidasv.control.ADTControl;
034
035public class Env {
036
037   public static boolean RunADTTF;
038   public static boolean PlotTF;
039   public static boolean ListTF;
040   public static boolean DeleteTF;
041   public static boolean AutoTF;
042   public static boolean OverTF;
043   public static boolean OverSceneTF;
044   public static boolean OverCenterTF;
045   public static boolean ATCFOutputTF;
046   public static boolean ATCFRecordOutputTF;
047   public static boolean CommentAddTF;
048   public static boolean RunFullAnalysis;
049   public static boolean InitStrengthTF;
050   public static boolean LandFlagTF;
051   public static boolean CBSearchTF;
052
053   // Default Java boolean value is false - need to initialize if we want true
054   public static boolean UseCKZTF = false;
055   public static boolean Vmax1or10TF = true;
056
057   public static boolean UsePMWTF;
058   public static int UserDefineDomain;        /* 0=automated; 1=manual */
059   public static int DomainID;                /* Domain ID value : 0-Auto/Atl;1-Auto/Pac;2-Man/Atl;3-Man/Pac */
060   public static int ForecastFileType;
061   public static int MWJulianDate;
062   public static int MWHHMMSSTime;
063   public static int StartJulianDate;
064   public static int EndJulianDate;
065   public static int StartHHMMSSTime;
066   public static int EndHHMMSSTime;
067   public static int HistoryListFormat;
068   public static int MaxWindSpeedInputID;
069   public static int OverrideSceneTypeIndex;
070   public static double InitRawTValue;
071   public static double RMWSize;
072   public static double SubSatLatitude;
073   public static double SubSatLongitude;
074   public static double MWScore;
075   public static double CKZGaleRadius;
076   public static double CKZPenv;
077   public static double SelectedLatitude;
078   public static double SelectedLongitude;
079   public static String ASCIIOutputFileName;
080   public static String ForecastFileName;
081   public static String StormIDString;
082   public static String ATCFSourceAgcyIDString;
083   public static String CommentString;
084   public static final String ADTVersion = "ADT Version 8.2.1";
085   public static int DEBUG;
086
087   public Env() {
088      RunADTTF = true;
089      PlotTF = false;
090      ListTF = false;
091      DeleteTF = false;
092      AutoTF = false;
093      OverTF = false;
094      OverSceneTF = false;
095      OverCenterTF = false;
096      ATCFOutputTF = false;
097      ATCFRecordOutputTF = false;
098      CommentAddTF = false;
099      InitStrengthTF = true;
100      LandFlagTF = true;
101      CBSearchTF = true;
102      UseCKZTF = false;
103      Vmax1or10TF = true;
104      UsePMWTF = false;
105
106      DomainID = -1;
107      ForecastFileType = 0;
108      MWJulianDate = 1900001;
109      MWHHMMSSTime = 000000;
110      StartJulianDate = 1900001;
111      EndJulianDate = 000000;
112      StartHHMMSSTime = 1900001;
113      EndHHMMSSTime = 000000;
114      HistoryListFormat = 0;
115      MaxWindSpeedInputID = 0;
116      // TJJ Mar 2017 - initialize scene type for dropdown to last item in list
117      OverrideSceneTypeIndex = ADTControl.SCENE_TYPES.length - 1;
118      
119      InitRawTValue = 1.0;
120      MWScore = -100000.0;
121      CKZGaleRadius = 300.0;
122      CKZPenv = 1012.0;
123      RMWSize = -99.0;
124      SelectedLatitude = -99.5;
125      SelectedLongitude = -999.5;
126
127      ASCIIOutputFileName = null;
128      ForecastFileName = null;
129      StormIDString = null;
130      ATCFSourceAgcyIDString = null;
131      CommentString = null;
132
133      DEBUG = 1;
134   }
135
136}