Greetings,
We are trying to add a new extra output variable that is not already output from the model.
Basically what we want to have in the history files are one of the input files we are using in that particular module, which is a gridded data with same spatial and temporal resolution as other variables.
We understood that there are basically 3 calls that need to be done:
For add_default (optional, add_default = Add a field to the list of default fields on history file) needs to specify: (name, tindex, flag).
And finally for outfld (accumulate (or take min, max, etc. as appropriate) input field into its history buffer for appropriate tapes), it needs (fname, field, idim, c).
Assuming that we are using only addled and outfld as is used in other output variables in the module we are customizing, at the moment we are only able to have the variable in the history file but it is empty, which we already know it is not. Additionally we have seen and error in the cesium.log file like that: [zf09:03133] PMIX ERROR: NO-PERMISSIONS in file dstore_base.c at line 237, which we do not know if that's the reason and we do not know how to solve.
Does anybody have a suggestion?
Thanks in advance
We are trying to add a new extra output variable that is not already output from the model.
Basically what we want to have in the history files are one of the input files we are using in that particular module, which is a gridded data with same spatial and temporal resolution as other variables.
We understood that there are basically 3 calls that need to be done:
- addfld
- add_default (optional)
- outfld
For add_default (optional, add_default = Add a field to the list of default fields on history file) needs to specify: (name, tindex, flag).
And finally for outfld (accumulate (or take min, max, etc. as appropriate) input field into its history buffer for appropriate tapes), it needs (fname, field, idim, c).
Assuming that we are using only addled and outfld as is used in other output variables in the module we are customizing, at the moment we are only able to have the variable in the history file but it is empty, which we already know it is not. Additionally we have seen and error in the cesium.log file like that: [zf09:03133] PMIX ERROR: NO-PERMISSIONS in file dstore_base.c at line 237, which we do not know if that's the reason and we do not know how to solve.
Does anybody have a suggestion?
Thanks in advance