Skip to content

Commit b7e1de9

Browse files
NeoKishhaileyajohnson
authored andcommitted
Fixed rem trailing whitespaces and blank lines
1 parent abce99f commit b7e1de9

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

cdippy/cdipnc.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ def get_var(self, var_name: str):
471471
472472
Returns:
473473
netCDF4.Variable or None: Variable object or None.
474-
"""
474+
"""
475475
if self.nc is None or var_name not in self.nc.variables:
476476
return None
477477
return self.nc.variables[var_name]
@@ -538,8 +538,8 @@ def set_dataset_info(
538538
self, stn: str, org: str, dataset_name: str, deployment: int = None
539539
) -> None:
540540
"""
541-
Sets `self.stn`, `self.org`, `self.filename`, `self.url` and loads `self.nc`.
542-
The key to understanding all of this is that we are ultimately setting `_url_`,
541+
Sets `self.stn`, `self.org`, `self.filename`, `self.url` and loads `self.nc`.
542+
The key to understanding all of this is that we are ultimately setting `_url_`,
543543
which can be an actual path to the nc file or a URL to a THREDDS DODS service.
544544
545545
Args:
@@ -652,6 +652,7 @@ def set_dataset_info(
652652
self.org = org
653653
self.nc = self.get_nc()
654654

655+
655656
class Latest(CDIPnc):
656657
"""Access the latest 3-day CDIP dataset with retrieval methods for all metadata and variables."""
657658

0 commit comments

Comments
 (0)