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

Change functions to open files with the more generic mule.load_umfile instead of the specific classes #22

Open
atteggiani opened this issue Feb 20, 2025 · 0 comments

Comments

@atteggiani
Copy link
Collaborator

atteggiani commented Feb 20, 2025

Overview

Currently the functions open the UM files using specific mule classes based on the type of the fields file (e.g. mule.DumpFile.from_file()).

This limits the applicability of the function only to the specific UM fields file.

Solution

In the cases when a function might be used with multiple UM files (e.g. restart dumps, ancillaries, output fieldsfiles), the function used to open the file should be changed to mule.load_umfile().

@atteggiani atteggiani changed the title Change functions to open files with the more generic mule.UMfile instead of the specific classes Change functions to open files with the more generic mule.UMFile instead of the specific classes Feb 20, 2025
@atteggiani atteggiani changed the title Change functions to open files with the more generic mule.UMFile instead of the specific classes Change functions to open files with the more generic mule.load_umfile instead of the specific classes Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant