def __init__(self, model, var, start_time, end_time, lat1, lat2, months, output_dir, displayOpt): self.model = model self.var = var self.lat1 = lat1 self.lat2 = lat2 self.months = months self.output_dir = output_dir self.displayOpt = displayOpt availableTimeBnds = correctTimeBounds1('1', model.replace("_", "/"), var, start_time, end_time) self.start_time = availableTimeBnds[0] self.end_time = availableTimeBnds[1] # temporary fix # This application level knowledge may not belong here if self.model == 'NASA_AMSRE' and self.var == 'ts': self.var = 'tos'
def __init__(self, model, var, start_time, end_time, lat1, lat2, months, output_dir, displayOpt): self.model = model self.var = var self.lat1 = lat1 self.lat2 = lat2 self.months = months self.output_dir = output_dir self.displayOpt = displayOpt availableTimeBnds = correctTimeBounds1("1", model.replace("_", "/"), var, start_time, end_time) self.start_time = availableTimeBnds[0] self.end_time = availableTimeBnds[1] # temporary fix # This application level knowledge may not belong here if self.model == "NASA_AMSRE" and self.var == "ts": self.var = "tos"
def __init__(self, model, var, start_time, end_time, pressure_level, lon1, lon2, lat1, lat2, months, output_dir, displayOpt): self.model = model self.var = var self.pressure_level = pressure_level self.lon1 = lon1 self.lon2 = lon2 self.lat1 = lat1 self.lat2 = lat2 self.months = months self.output_dir = output_dir self.displayOpt = displayOpt availableTimeBnds = correctTimeBounds1('1', model.replace("_", "/"), var, start_time, end_time) self.start_time = availableTimeBnds[0] self.end_time = availableTimeBnds[1] # temporary fix # This application level knowledge may not belong here if self.model == 'NASA_AMSRE' and self.var == 'ts': self.var = 'tos'
def __init__(self, model, var, start_time, end_time, lon1, lon2, dlon, lat1, lat2, dlat, plev, output_dir): self.model = model self.var = var self.lon1 = lon1 self.lon2 = lon2 self.dlon = dlon self.lat1 = lat1 self.lat2 = lat2 self.dlat = dlat self.plev = plev self.output_dir = output_dir availableTimeBnds = correctTimeBounds1('1', model.replace("_", "/"), var, start_time, end_time) self.start_time = availableTimeBnds[0] self.end_time = availableTimeBnds[1] # temporary fix # This application level knowledge may not belong here if self.model == 'NASA_AMSRE' and self.var == 'ts': self.var = 'tos'