We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Exhibits in v90 (and earlier).
wget 'https://dataverse01.geus.dk/api/access/datafile/:persistentId?persistentId=doi:10.22008/FK2/OHI23Z/LOC1JC' -O ~/tmp/MB_region.nc wget 'https://dataverse01.geus.dk/api/access/datafile/:persistentId?persistentId=doi:10.22008/FK2/OHI23Z/ZRDZLS' -O ~/tmp/MB_sector.nc
import xarray as xr r = xr.open_dataset('~/tmp/MB_region.nc') s = xr.open_dataset('~/tmp/MB_sector.nc') # print('Scale of raw data: ', r.sum(dim='region').sum()) print('\n\nDiff:') print((r.sum(dim='region') - s.sum(dim='sector')).sum())
Diff: <xarray.Dataset> Dimensions: () Data variables: MB float32 0.0 MB_err float32 0.0 MB_ROI float32 -41.11 MB_ROI_err float32 -85.06 SMB float32 0.0 SMB_err float32 0.0 SMB_ROI float32 -2.582e-05 SMB_ROI_err float32 -2.526e-06 D float32 0.0 D_err float32 0.0 D_ROI float32 0.000224 D_ROI_err float32 -2.205e-06 BMB float32 0.0 BMB_err float32 0.0 BMB_ROI float32 9.164e-07 BMB_ROI_err float32 -3.067 MB_HIRHAM float32 -223.3 MB_MAR float32 116.8 MB_RACMO float32 -6.387
The text was updated successfully, but these errors were encountered:
Cause: Splitting into different products (sectors, regions) and then performing operations (such as interpolation) leads to diverging products.
Solution: Operate on highest resolution product (e.g. discharge at gate level), then split into sectors and regions.
Note that sectors here are Zwally (2012) sectors. Sectors in the discharge product are Mouginot (2019) sectors.
Sorry, something went wrong.
Region and sector disagreement work
0987925
See #20
No branches or pull requests
Exhibits in v90 (and earlier).
The text was updated successfully, but these errors were encountered: