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

no longer deleting the "*_initial.nc" file #45

Merged
merged 1 commit into from
Mar 7, 2025
Merged

Conversation

kthyng
Copy link
Member

@kthyng kthyng commented Mar 7, 2025

that way it can be used for plotting if the final output is parquet.

Every simulation now keeps the initial netcdf file "*_initial.nc", which only have OpenDrift metadata in it, and which can be used to create plots from. This is necessary if you output in parquet, which is currently created from the netcdf file. Converting the parquet file to netcdf didn't work correctly and didn't seem to keep necessary attributes, though I didn't try too hard since this file was already available. In the updated version of PTM, there isn't an "extra" _initial file available so we will have to choose a new solution at that point.

that way it can be used for plotting if the final output is parquet.
@kthyng kthyng merged commit c1a3000 into main Mar 7, 2025
11 checks passed
@kthyng kthyng deleted the fix_plots_parquet branch March 7, 2025 21:18
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

Successfully merging this pull request may close these issues.

1 participant