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

Area definition as part of static dataset files #2

Closed
joeloskarsson opened this issue Oct 23, 2023 · 1 comment
Closed

Area definition as part of static dataset files #2

joeloskarsson opened this issue Oct 23, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@joeloskarsson
Copy link
Collaborator

In order to make the code reusable with different limited area configurations, the exact definition of the model area should not be hard-coded in constants.py.

Proposition

Let a file area_def.json, stored in data/my_dataset/static describe the model area. This description should include:

  • The projection used for defining the area (useful for plotting).
  • The extent of the area in the coordinate system of the projection.
  • The grid shape (N x M).

These things are currently contained in constants.py. The json file could then be used to create an AreaDefinition object that could be passed to the model, plotting scripts etc.

@joeloskarsson
Copy link
Collaborator Author

Superseded by #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant