You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ghweber - great job on #799! I can now use teca_metadata_probe on output from HENS, and I can almost use teca_bayesian_ar_detect. It looks like the coordinate name global/lat and global/lon is passed on in the TECA metadata in a way that causes the teca_cf_writer stage to fail:
Two potential solutions come to mind, one simple, the other more complex:
modify the TECA metadata to remove the global/ part from variable names and instead add a metadata key that stores the netCDF group of the variable; or
modify teca_cf_writer to handle groups: e.g., create lat in the global group if the variable name is global/lat
What do you think? And would you be able to take this on?
The text was updated successfully, but these errors were encountered:
that sounds good to me - thank you! If we do go with solution 2, it might be good to add an option to the CF writer to override the group for all variables (e.g., set the group to / to avoid groups in the output file). If this is implemented as a BOOST command line option, then it could be specified for any TECA app through the advanced command line options.
Throw an error, I think. If there is a variable name conflict resulting from the user trying to put variables in the root group, that would suggest that the file should in fact have groups and that putting variables in root is probably a bad idea.
@ghweber - great job on #799! I can now use
teca_metadata_probe
on output from HENS, and I can almost useteca_bayesian_ar_detect
. It looks like the coordinate nameglobal/lat
andglobal/lon
is passed on in the TECA metadata in a way that causes theteca_cf_writer
stage to fail:Two potential solutions come to mind, one simple, the other more complex:
global/
part from variable names and instead add a metadata key that stores the netCDF group of the variable; orteca_cf_writer
to handle groups: e.g., createlat
in theglobal
group if the variable name isglobal/lat
What do you think? And would you be able to take this on?
The text was updated successfully, but these errors were encountered: