Skip to content

Commit 11996a7

Browse files
removed 3.9 from the tests
and a bit of cleanup of teh docs
1 parent 9fa276e commit 11996a7

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/conda_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
os: ["ubuntu", "windows","macos"]
11-
pyver: ["3.9", "3.10", "3.11", "3.12", "3.13"]
11+
pyver: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1212
fail-fast: false
1313
steps:
1414
- uses: actions/checkout@v4

docs/source/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,15 @@
9797
html_theme_options = {
9898
# 'analytics_id': 'G-XXXXXXXXXX', # Provided by Google in your dashboard
9999
# 'analytics_anonymize_ip': False,
100+
# 'display_version': True, # no longer supported
100101
'logo_only': False,
101102
'prev_next_buttons_location': 'bottom',
102103
'style_external_links': False,
103104
# 'vcs_pageview_mode': '',
104105
'style_nav_header_background': 'white',
105106
'flyout_display': 'hidden',
106-
'version_selector': False, # only good when hosted on RTD
107-
'language_selector': True,
107+
'version_selector': True, # only good when hosted on RTD
108+
# 'language_selector': True,
108109
# Toc options
109110
'collapse_navigation': True,
110111
'sticky_navigation': True,

gridded/depth.py

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -418,16 +418,17 @@ def from_netCDF(cls,
418418
:type filename: str or list[str]
419419
420420
:param terms: Direct mapping of component name to netCDF variable name. Use
421-
this if auto detection fails. Partial definition is allowable.
422-
Unspecified terms will use the value in `.default_names`. ::
423-
{'Cs_r': 'Cs_r',
424-
'Cs_w': 'Cs_w',
425-
's_rho': 's_rho'),
426-
's_w': 's_w',
427-
'bathymetry': 'h',
428-
'hc': 'hc'),
429-
'zeta': 'zeta')
430-
}
421+
this if auto detection fails. Partial definition is allowable.
422+
Unspecified terms will use the value in `.default_names`.
423+
::
424+
{'Cs_r': 'Cs_r',
425+
'Cs_w': 'Cs_w',
426+
's_rho': 's_rho'),
427+
's_w': 's_w',
428+
'bathymetry': 'h',
429+
'hc': 'hc'),
430+
'zeta': 'zeta')
431+
}
431432
:type terms: dict
432433
433434
:param name: Human-readable name for this object
@@ -445,13 +446,13 @@ def from_netCDF(cls,
445446
:param displacement: displacement to apply to the time data.
446447
Allows shifting entire time interval into future or past
447448
:type displacement: `datetime.timedelta`
448-
449+
449450
:param grid: X-Y dmension (for bathymetry & zeta)
450451
:type grid: subclass of gridded.grids.GridBase
451452
'''
452453
if cls == S_Depth:
453454
raise NotImplementedError('S_Depth is not meant to be instantiated. Please use a subclass like ROMS_Depth or FVCOM_Depth')
454-
455+
455456
Grid = cls._default_component_types['grid']
456457
Time = cls._default_component_types['time']
457458
Variable = cls._default_component_types['variable']
@@ -733,8 +734,6 @@ def _apply_boundary_conditions(self,
733734
return indices, alphas, oob_mask
734735

735736

736-
737-
738737
class ROMS_Depth(S_Depth):
739738
'''
740739
Sigma coordinate depth object for ROMS style output

0 commit comments

Comments
 (0)