Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made set_up_variable_cube test helper support non-square grid cells #1988

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Tidying up
  • Loading branch information
MO-PeterJordan committed Apr 16, 2024
commit d50ef060845d26da5ffb1fd83feb02f2fbd63787
6 changes: 4 additions & 2 deletions improver/cli/generate_metadata_cube.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@ def process(
ensemble_members (Optional[int]):
Number of ensemble members. Default 8. Will not be used if "realizations",
"percentiles" or "thresholds" provided in json_input.
grid_spacing (Optional[float]):
Resolution of grid (metres or degrees).
x_grid_spacing (Optional[float]):
Resolution of grid along the x-axis (metres or degrees).
y_grid_spacing (Optional[float]):
Resolution of grid along the y-axis (metres or degrees).
domain_corner (Optional[Tuple[float, float]]):
Bottom left corner of grid domain (y,x) (degrees for latlon or metres for
equalarea).
Expand Down
1 change: 0 additions & 1 deletion improver/synthetic_data/generate_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ def generate_metadata(
kwargs["spatial_grid"] = DEFAULT_SPATIAL_GRID

kwargs[spacing_axis] = DEFAULT_GRID_SPACING[kwargs["spatial_grid"]]
print("\n\n\n\n\n\n\nSpatial Grid Set\n\n")

# Create ndimensional array of zeros
if "height_levels" not in kwargs:
Expand Down
Empty file.
Loading