Hi All,
I was checking through a few routines, but could not determine if there was a function or macro to check if one data set was in the same space, on the same grid, and had the same orientation as another? Or is it a matter of doing something along the lines of:
if ( (ds1->daxes->nxx == ds2->daxes->nxx) &&
(ds1->daxes->nyy == ds2->daxes->nyy) &&
(ds1->daxes->nzz == ds2->daxes->nzz) &&
(ds1->daxes->xxorg == ds2->daxes->xxorg) &&
(ds1->daxes->yyorg == ds2->daxes->yyorg) &&
(ds1->daxes->zzorg == ds2->daxes->zzorg) &&
(ds1->daxes->xxdel == ds2->daxes->xxdel) &&
(ds1->daxes->yydel == ds2->daxes->yydel) &&
(ds1->daxes->zzdel == ds2->daxes->zzdel)
)
myself, where "ds1" and "ds2" are the data sets to be checked ? I am missing the orientation code check here, this otherwise checked what I needed to.
Thanks!