Spaces:
Sleeping
Sleeping
clean time
Browse files127 unmodified lines1281291301311321331342 unmodified lines137138139140141142143156 unmodified lines300301302303304305306127 unmodified lines@pn.cache(max_items=16,policy='LRU',per_session=True)def load_netCDF(file_path):fs = fsspec.filesystem("https")ds= ds = (xr.open_dataset(fs.open(file_path), decode_cf=True, decode_times=False, engine="scipy")2 unmodified lines.set_xindex("PROFZ").set_xindex("TIME"))return ds156 unmodified lines]]self.ds = fix_time(self.ds)lon_range = (int(self.ds["LONGITUDE"].min().round() - 1),127 unmodified lines1281291301311321331342 unmodified lines137138139140141142143156 unmodified lines300301302303304305127 unmodified lines@pn.cache(max_items=16,policy='LRU',per_session=True)def load_netCDF(file_path):fs = fsspec.filesystem("https")ds = (xr.open_dataset(fs.open(file_path), decode_cf=True, decode_times=False, engine="scipy")2 unmodified lines.set_xindex("PROFZ").set_xindex("TIME"))return fix_time(ds)156 unmodified lines]]lon_range = (int(self.ds["LONGITUDE"].min().round() - 1),
app.py+2-3