code stringlengths 3 6.57k |
|---|
shape ({1}) |
shape ({2}) |
format(new_vname,str(var.shape) |
str(array.shape) |
copy(self, output_filename) |
NetCdf.zeros_like(self, output_filename=output_filename) |
self.var_attr_dict.keys() |
other.var_attr_dict.keys() |
new_net.nc.variables.get(vname) |
format(vname) |
new_net.log("adding variable {0}".format(vname) |
np.array(data) |
np.zeros_like(data) |
new_net.log("adding variable {0}".format(vname) |
other.nc.ncattrs() |
new_net.nc.ncattrs() |
new_net.add_global_attributes(global_attrs) |
str(time.mktime(datetime.now() |
timetuple() |
os.path.exists(output_filename) |
print("{}...already exists".format(output_filename) |
str(time.mktime(datetime.now() |
timetuple() |
format(output_filename) |
self (e.g. self - other) |
difference() |
format(str(e) |
self.logger.warn(mess) |
Exception(mess) |
isinstance(other, str) |
format(other) |
netCDF4.Dataset(other, "r") |
isinstance(other, netCDF4.Dataset) |
set(self.nc.variables.keys() |
set(other.variables) |
self_vars.symmetric_difference(other_vars) |
len(diff) |
join(diff) |
self_dimens.keys() |
self.logger.warn("missing dimension in other:{0}".format(d) |
len(self_dimens[d]) |
len(other_dimens[d]) |
format(self_dimens[d], other_dimens[d]) |
self.nc.variables.get("time") |
self.output_filename.replace(".nc", ".diff.nc") |
new_net.nc.variables.get(vname) |
self.logger.warn("skipping variable: {0}".format(vname) |
self.log("processing variable {0}".format(vname) |
isinstance(s_data, np.ma.MaskedArray) |
self.logger.warn("masked array for {0}".format(vname) |
np.array(s_data) |
np.nan_to_num(s_data) |
isinstance(o_data, np.ma.MaskedArray) |
np.array(o_data) |
np.nan_to_num(o_data) |
minuend.lower() |
minuend.lower() |
format(minuend) |
self.logger.warn(mess) |
Exception(mess) |
d_data.sum() |
format(vname) |
d_data.min() |
d_data.max() |
copy() |
np.nanmax(d_data) |
np.nanmin(d_data) |
self.log("applying self mask") |
self.log("applying self mask") |
self.log("applying other mask") |
self.log("applying other mask") |
np.isnan(d_data) |
np.where(d_data == 0.0) |
self.log("processing variable {0}".format(vname) |
_dt_str(self, dt) |
write(self) |
self.log("writing nc file") |
netcdf.write() |
self.global_attributes.items() |
self.nc.attributes.get(k) |
self.nc.setncattr(k, v) |
format(k) |
self.nc.sync() |
self.nc.close() |
self.log("writing nc file") |
_initialize_attributes(self) |
self.__dict__.keys() |
NetCdf._initialize_attributes() |
float(6378137.0) |
float(298.257223563) |
socket.gethostname() |
platform.system() |
os.getcwd() |
self.model.solver_tols() |
format(str(e) |
spatial_attribs.items() |
initialize_geometry(self) |
str(e) |
LooseVersion(pyproj.__version__) |
LooseVersion("2.2.0") |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.