// see that the grid info is read in. Called at the beginning of every data access method
 private void CheckInit()
 {
     if (m_gridInfo == null)
     {
         string gridsFilename = "";
         try {
             m_gridInfo    = new ParameterSet();
             gridsFilename = Path.Combine(LookingGlassBase.Instance.AppParams.ParamString("Grids.Filename.Directory"),
                                          LookingGlassBase.Instance.AppParams.ParamString("Grids.Filename"));
             if (!File.Exists(gridsFilename))
             {
                 // if the user copy of the config file doesn't exist, copy the default into place
                 string gridsDefaultFilename = Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory,
                                                            LookingGlassBase.Instance.AppParams.ParamString("Grids.Filename"));
                 if (File.Exists(gridsDefaultFilename))
                 {
                     File.Copy(gridsDefaultFilename, gridsFilename);
                 }
                 else
                 {
                     LogManager.Log.Log(LogLevel.DBADERROR, "GridManager: GRIDS FILE DOES NOT EXIST: {0}", gridsFilename);
                     gridsFilename = null;
                 }
             }
             if (gridsFilename != null)
             {
                 m_gridInfo.AddFromFile(gridsFilename);
             }
         }
         catch (Exception e) {
             LogManager.Log.Log(LogLevel.DBADERROR, "GridManager: FAILED READING GRIDS FILE '{0}': {1}",
                                gridsFilename, e.ToString());
         }
     }
 }