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

Allow for input with time-related naming #32

Open
BramDr opened this issue Feb 29, 2024 · 1 comment
Open

Allow for input with time-related naming #32

BramDr opened this issue Feb 29, 2024 · 1 comment
Labels
enhancement Enhancement request

Comments

@BramDr
Copy link
Contributor

BramDr commented Feb 29, 2024

Would like to see that the input-file string can contain formatting patterns that match the time of the current model timestep. This is especially useful for meteorological forcing inputs that often come in yearly NetCDF files.

A simple key-based format would be sufficient, and would also allow for user-customized formatting options (such as the number of digits). As an example:
netcdf_file_name = self.preFileNC.format(year = currTimeStep.year, month = currTimeStep.month, day = currTimeStep.day, hour = currTimeStep.hour, second = currTimeStep.second, milisecond = currTimeStep.milisecond)

@BramDr BramDr added the enhancement Enhancement request label Feb 29, 2024
@BramDr
Copy link
Contributor Author

BramDr commented Feb 29, 2024

Likely best to include this in the virtualOS netcdf2PCRobjClone function

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

No branches or pull requests

1 participant