Skip to content

Commit

Permalink
Apply new fix to central_latitude argument
Browse files Browse the repository at this point in the history
  • Loading branch information
jimc101 committed Nov 22, 2023
1 parent 5a36aaf commit 7d76bc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pylag/grid_metrics.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def create_fvcom_grid_metrics_file(fvcom_file_name: str,
variable_names: Optional[dict]={},
obc_file_name: Optional[str]=None,
obc_file_delimiter: Optional[str]=' ',
central_latitude: Optional[float]=0.0,
central_latitude: Optional[int]=0,
grid_metrics_file_name: Optional[str]='./grid_metrics.nc'):
"""Create FVCOM grid metrics file
Expand Down Expand Up @@ -659,7 +659,7 @@ def create_arakawa_a_grid_metrics_file(file_name, lon_var_name='longitude',
reference_var_name=None, bathymetry_var_name=None, dim_names=None,
is_global=False, surface_only=False, save_mask=True, prng_seed=10,
masked_vertices_per_element=0,
central_latitude: Optional[int]=0.0,
central_latitude: Optional[int]=0,
grid_metrics_file_name='./grid_metrics.nc'):
""" Create a Arakawa A-grid metrics file
Expand Down

0 comments on commit 7d76bc2

Please sign in to comment.