code stringlengths 3 6.57k |
|---|
datetime.now() |
self.log("opening " + str(filename) |
log(self, phrase) |
datetime.now() |
self.items.keys() |
str(t) |
str(phrase) |
str(t - self.items[phrase]) |
print(s,) |
self.f.write(s) |
self.items.pop(phrase) |
str(t) |
str(phrase) |
print(s,) |
self.f.write(s) |
copy.deepcopy(t) |
warn(self, message) |
str(datetime.now() |
print(s,) |
self.f.write(s) |
NetCdf(object) |
str ('up' or 'down') |
file.
(default 'down') |
output_filename.lower() |
endswith(".nc") |
Logger(verbose) |
os.path.exists(output_filename) |
self.logger.warn("removing existing nc file: " + output_filename) |
os.remove(output_filename) |
bool(forgive) |
kwargs.pop("modelgrid") |
STANDARD_VARS.extend(["delc", "delr"]) |
format(self.model_grid.grid_type) |
dateutil.parser.parse(self.model_time.start_datetime) |
self.logger.warn("start datetime:{0}".format(str(self.start_datetime) |
format(proj4_str) |
self.log("initializing attributes") |
self._initialize_attributes() |
self.log("initializing attributes") |
self.log("initializing file") |
self.initialize_file(time_values=self.time_values_arg) |
self.log("initializing file") |
__add__(self, other) |
NetCdf.zeros_like(self) |
np.isscalar(other) |
isinstance(other, np.ndarray) |
self.var_attr_dict.keys() |
isinstance(other, NetCdf) |
self.var_attr_dict.keys() |
NetCdf.__add__() |
str(type(other) |
__sub__(self, other) |
NetCdf.zeros_like(self) |
np.isscalar(other) |
isinstance(other, np.ndarray) |
self.var_attr_dict.keys() |
isinstance(other, NetCdf) |
self.var_attr_dict.keys() |
NetCdf.__sub__() |
str(type(other) |
__mul__(self, other) |
NetCdf.zeros_like(self) |
np.isscalar(other) |
isinstance(other, np.ndarray) |
self.var_attr_dict.keys() |
isinstance(other, NetCdf) |
self.var_attr_dict.keys() |
NetCdf.__mul__() |
str(type(other) |
__div__(self, other) |
self.__truediv__(other) |
__truediv__(self, other) |
NetCdf.zeros_like(self) |
np.errstate(invalid="ignore") |
np.isscalar(other) |
isinstance(other, np.ndarray) |
self.var_attr_dict.keys() |
isinstance(other, NetCdf) |
self.var_attr_dict.keys() |
NetCdf.__sub__() |
str(type(other) |
append(self, other, suffix="_1") |
isinstance(other, NetCdf) |
isinstance(other, dict) |
isinstance(other, NetCdf) |
other.var_attr_dict.keys() |
copy() |
self.nc.variables.keys() |
self.nc.variables.keys() |
join(self.nc.variables.keys() |
max() |
min() |
other.items() |
self.normalize_name(vname) |
self.nc.variables.keys() |
self.nc.variables.keys() |
self.nc.variables.keys() |
copy() |
np.nanmax(array) |
np.nanmin(array) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.