Skip to content

Commit

Permalink
DOCS
Browse files Browse the repository at this point in the history
  • Loading branch information
bryan-harter committed Feb 17, 2022
1 parent 69cc0a5 commit ba694d2
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cdflib/cdf_to_xarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def _convert_cdf_to_dicts(filename, to_datetime=False, to_unixtime=False):
# Open the CDF file
# Converts the entire CDF file into python dictionary objects

cdf_file = cdflib.CDF(filename, string_encoding='latin-1')
cdf_file = CDF(filename, string_encoding='latin-1')
cdf_info = cdf_file.cdf_info()
all_cdf_variables = cdf_info['rVariables'] + cdf_info['zVariables']

Expand Down
2 changes: 1 addition & 1 deletion cdflib/xarray_to_cdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def xarray_to_cdf(xarray_dataset, file_name, from_unixtime=False, from_datetime=
print(f"{file_name} already exists, cannot create CDF file. Returning...")
return

x = cdflib.CDF(file_name)
x = CDF(file_name)

# Make a deep copy of the data before continuing
dataset = xarray_dataset.copy()
Expand Down
2 changes: 0 additions & 2 deletions doc/modules/cdfread.rst
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
.. automodapi:: cdflib.cdfread
:no-inheritance-diagram:
2 changes: 0 additions & 2 deletions doc/modules/cdfwrite.rst
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
.. automodapi:: cdflib.cdfwrite
:no-inheritance-diagram:
2 changes: 0 additions & 2 deletions doc/modules/epochs.rst
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
.. automodapi:: cdflib.epochs
:no-inheritance-diagram:
2 changes: 0 additions & 2 deletions doc/modules/epochs_astropy.rst
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
.. automodapi:: cdflib.epochs_astropy
:no-inheritance-diagram:

0 comments on commit ba694d2

Please sign in to comment.