examples issueshttps://git.geomar.de/data/documentation/examples/-/issues2020-07-02T13:23:25+02:00https://git.geomar.de/data/documentation/examples/-/issues/7Problem to load netCDF files (having >2 dimensions) with Matlab ncread via OP...2020-07-02T13:23:25+02:00Johannes Hahnjhahn@geomar.deProblem to load netCDF files (having >2 dimensions) with Matlab ncread via OPENDAPI have issues to load a variable from a netCDF file via OPENDAP with the Matlab function ncread. ncread is built in function in my here used Matlab version 2019a.
The issue is the following: When I try the load a variable with more than 2 dimensions, I only get back zeros. As an example, I post here the link to a data set from the World Ocean Atlas 2013, available on our GEOMAR THREDDS Server.
The Matlab command, which only outputs zeros, is:
- sal = ncread('https://dm-data.geomar.de/thredds/dodsC/erda/WOA13_V2/v1.x.x/data/salinity/netcdf/decav/0.25/woa13_decav_s00_04v2.nc','s_an',[1 1 1 1],[1440 720 102 1]);
However, when I try to load just a reduced cut-out data set, where only the first index of the 3rd dimension is read ("102" --> "1"), it works. So the adapted Matlab command from above, which provides a proper output, is:
- sal = ncread('https://dm-data.geomar.de/thredds/dodsC/erda/WOA13_V2/v1.x.x/data/salinity/netcdf/decav/0.25/woa13_decav_s00_04v2.nc','s_an',[1 1 1 1],[1440 720 1 1]);
Does anyone have an idea, why this is the case?I have issues to load a variable from a netCDF file via OPENDAP with the Matlab function ncread. ncread is built in function in my here used Matlab version 2019a.
The issue is the following: When I try the load a variable with more than 2 dimensions, I only get back zeros. As an example, I post here the link to a data set from the World Ocean Atlas 2013, available on our GEOMAR THREDDS Server.
The Matlab command, which only outputs zeros, is:
- sal = ncread('https://dm-data.geomar.de/thredds/dodsC/erda/WOA13_V2/v1.x.x/data/salinity/netcdf/decav/0.25/woa13_decav_s00_04v2.nc','s_an',[1 1 1 1],[1440 720 102 1]);
However, when I try to load just a reduced cut-out data set, where only the first index of the 3rd dimension is read ("102" --> "1"), it works. So the adapted Matlab command from above, which provides a proper output, is:
- sal = ncread('https://dm-data.geomar.de/thredds/dodsC/erda/WOA13_V2/v1.x.x/data/salinity/netcdf/decav/0.25/woa13_decav_s00_04v2.nc','s_an',[1 1 1 1],[1440 720 1 1]);
Does anyone have an idea, why this is the case?https://git.geomar.de/data/documentation/examples/-/issues/6Adapt OPeNDAP links2020-06-25T14:52:50+02:00Willi RathAdapt OPeNDAP linksAs seen in #5, the OPeNDAP links in some examples are wrong, because the GEOMAR server was changed.As seen in #5, the OPeNDAP links in some examples are wrong, because the GEOMAR server was changed.https://git.geomar.de/data/documentation/examples/-/issues/4Add example for deriving annual means2019-02-19T15:09:25+01:00Christina RothAdd example for deriving annual meanscalculate annual, pentadal, decadal mean from daily, 5-daily, monthly data and store result.calculate annual, pentadal, decadal mean from daily, 5-daily, monthly data and store result.https://git.geomar.de/data/documentation/examples/-/issues/2Add lowpass-filter example with SLTAC sea level2017-10-18T12:39:36+02:00Willi RathAdd lowpass-filter example with SLTAC sea levelcc: @tobias-schulzki, @klaus-getzlaff
Possible pointer: <http://xarray.pydata.org/en/stable/computation.html#rolling-window-operations>cc: @tobias-schulzki, @klaus-getzlaff
Possible pointer: <http://xarray.pydata.org/en/stable/computation.html#rolling-window-operations>Willi RathWilli Rathhttps://git.geomar.de/data/documentation/examples/-/issues/1Add ASCAT windstress-curl example2017-09-19T17:50:06+02:00Willi RathAdd ASCAT windstress-curl example(cc: @rafael-abel)
- Work on taurus
- Calculate windstress-curl for a single time step(cc: @rafael-abel)
- Work on taurus
- Calculate windstress-curl for a single time stepWilli RathWilli Rath