dmrpp_module has poor documentation.

Step-by-step guide

  1. Remove comment in dap.conf: DAP.GlobalMetadataStore.path = /home/ec2-user/hyrax/build/share/mds

  2. Install Gateway module.
  3. Add s3://sdt-data/path into whitelist.

Test

DMRPP module seems to read data from S3. However, DMR++ generation and loading with build_dmrpp tool doesn't work.

Dataset: d_int.h5
d16_2[0], -32768, 1
d16_2[1], 2, 32767
Dataset: CER_SYN1deg-1Hour_Terra-Aqua-MODIS_Edition4A_407406.20180601.nc4
d16_2[0], 181, 6400
d16_2[1], 0, 0


/usr/bin/build_dmrpp -f t_float.h5

The Metadata Store (MDS) must be configured for this command to work


http://3.89.114.106:8080/opendap/data/dmrpp/http_d_int.h5.dmrpp.ascii?d16_1%5B0:1:1%5D


Error { 
    code = 403;
    message = "ERROR!! The chunk url https://s3.amazonaws.com/cloudydap/samples/d_int.h5 does not match any white-list rule.";
}

References

  1. https://opendap.github.io/hyrax_guide/Master_Hyrax_Guide.html#mds
  2. https://github.com/OPENDAP/bes/blob/57919626c576ddf39159008b3604ffa2bd261237/modules/dmrpp_module/build_dmrpp.cc
  3. https://github.com/OPENDAP/bes/commit/af6d5a9ad7dc991a4a765d90f7f930afea1fa40b