-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the attribute "coordinates" to output netCDF variables
- Currently the domain and progress variables have the attribute "coordinates" this commit adds this to the output variables - `SW_NC_create_full_var()` gains new parameter to know if it should add to the provided "coordinates" attribute string * The provided string should contain at the least "lat lon" or "lat lon site" (or the user-provided names for these coordinates/dimensions) - Update the call to `SW_NC_create_full_var()` to give the index -1, denoting that there is no need to add to the coordinate string * This should not happen anyways here even without a -1 due to only being added to when the coordinates "time", "vertical", and/or "pft" is present (which don't exist for progress) - `create_output_file()` gains new attribute string for "coordinates" attribute * Add target for "goto" instead of immediately returning from the function to close the open file
- Loading branch information
1 parent
fad27ea
commit bef362c
Showing
4 changed files
with
82 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters