Skip to content

Trady Study Use Case 7 Simulate NcML JoinNew aggreegation

H. Joe Lee edited this page Nov 29, 2016 · 3 revisions

Use Case Name

Simulate the NcML JoinExist aggregation with the CF-enabled DAP2 Hyrax service for NASA sample converted AIRS HDF5 products stored at S3

Scope

Hyrax framework installed at Amazon cloud system(EC2+S3)

Level

sub-function

Primary Actor

A NASA Earth Science researcher who would like to access the HDF5 products stored in cloud via the Hyrax OPeNDAP server

Stakeholders and Interests

General public who are interested in retrieving information of NASA HDF5 products via Hyrax, NASA ESDIS and Raytheon BEDI2 project managers

Preconditions

  • Apache Tomcat is installed successfully at EC2  
    
  • Hyrax is also installed at Amazon EC2 successfully
    
  • All NASA sample HDF5 products are put at S3 successfully
    
  • A Hyrax server is installed at a non-cloud (i.e., local) Linux server and NASA sample HDF5 products should also be put under the non-cloud  (i.e., local) Linux server
    
  • The HDF5 handler is configured to use the EnableCF option for the Hyrax servers installed at Amazon EC2 and non-cloud Linux server 
    

Minimal Guarantee

For DAP2 under the configuration of the CF option of the HDF5 handler

  • The binary outputs of Data response with constraint expression from a selected variable of sample NASA HDF5 files are the same as those obtained from the Hyrax service on a non-cloud Linux server

Success Guarantee

For DAP2 under the configuration of the CF option the HDF5 handler

  • The time and the expense of a DAP response from cloud can be measured

Trigger

When a user checks the DAP responses from EC2+S3 with a curl script at a Linux or MacOS machine that serves as a client.

Main Success Scenario

Using besstandalone

  1. Obtain the data values from the examined variable of the n sample NASA files with besstandalone command from the non-cloud Hyrax server.

$besstandalone -c <bes.conf> -i <bescmd_1.xml> -f airs_local_1.bin $besstandalone -c <bes.conf> -i <bescmd_2.xml> -f airs_local_2.bin ... $besstandalone -c <bes.conf> -i <bescmd_n.xml> -f airs_local_n.bin ```

  1. Obtain the data values from the examined variable of the n sample NASA files with besstandalone command from the cloud Hyrax server.

$besstandalone -c <bes.conf> -i <bescmd_1.xml> -f airs_1.bin $besstandalone -c <bes.conf> -i <bescmd_2.xml> -f airs_2.bin ... $besstandalone -c <bes.conf> -i <bescmd_n.xml> -f airs_n.bin


3. The besstandalone output from the EC2+S3 should be the same as the output from the non-cloud Hyrax server.

$diff airs_local_1.bin airs_1.bin $diff airs_local_2.bin airs_2.bin ... $diff airs_local_n.bin airs_n.bin

Clone this wiki locally