Beispiel #1
0
 public ActionResult MapMacc2NarrTest()
 {
     JassWeather.Models.JassWeatherAPI.JassMaccNarrGridsCombo result = apiCaller.MapGridNarr2MaccFromFile(
         "netcdf-web238-20140306020857-10515-0608.nc",
         "ftp___ftp.cdc.noaa.gov_Datasets_NARR_pressure_air.201201.nc");
     return(View("MapGrid2NarrTest", result));
 }
Beispiel #2
0
 public ActionResult MapNapsNO22NarrReal()
 {
     JassWeather.Models.JassWeatherAPI.JassMaccNarrGridsCombo result = apiCaller.MapGridNarr2GridFromFile(
         "napsno2_stations.nc",
         "lat",
         "lon",
         "Narr_Grid.nc",
         "Narr_2_NapsNO2_Grid_Mapper.nc", false, true);
     return(View("MapNaps2Narr", result));
 }
Beispiel #3
0
 public ActionResult MapSher2NarrReal()
 {
     JassWeather.Models.JassWeatherAPI.JassMaccNarrGridsCombo result = apiCaller.MapGridNarr2GridFromFile(
         "sheridan_stations.nc",
         "lat",
         "lon",
         "Narr_Grid.nc",
         "Narr_2_SHER_Grid_Mapper.nc", false, true);
     return(View("MapSher2NarrTest", result));
 }
Beispiel #4
0
 public ActionResult MapCFSR2NarrReal()
 {
     JassWeather.Models.JassWeatherAPI.JassMaccNarrGridsCombo result = apiCaller.MapGridNarr2GridFromFile(
         "pgbhnl.gdas.20101201-20101205.grb2.nc",
         "lat",
         "lon",
         "Narr_Grid.nc",
         "Narr_2_CFSR_Grid_Mapper.nc", false, false);
     return(View("MapGrid2NarrTest", result));
 }
Beispiel #5
0
 public ActionResult MapNapsPM252NarrTest()
 {
     JassWeather.Models.JassWeatherAPI.JassMaccNarrGridsCombo result = apiCaller.MapGridNarr2GridFromFile(
         "napspm25_stations.nc",
         "lat",
         "lon",
         "Narr_Grid.nc",
         "Narr_2_NapsPM25_Grid_Mapper.nc", true, true);
     return(View("MapNaps2Narr", result));
 }
Beispiel #6
0
        public ActionResult MapCFSR2NarrTest()
        {
            DateTime startTime = DateTime.Now;

            JassWeather.Models.JassWeatherAPI.JassMaccNarrGridsCombo result = apiCaller.MapGridNarr2GridFromFile(
                "pgbhnl.gdas.20101201-20101205.grb2.nc",
                "lat",
                "lon",
                "Narr_Grid.nc",
                "Narr_2_CFSR_Grid_Mapper.nc", true, false);
            DateTime endTime = DateTime.Now;

            ViewBag.elapsedTime = (endTime - startTime);
            return(View("MapGrid2NarrTest", result));
        }