Changes between Version 6 and Version 7 of GENIExperimenter/Tutorials/GettingStarted_PartII_ccn/Procedure/Execute
- Timestamp:
- 06/19/14 10:42:39 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/GettingStarted_PartII_ccn/Procedure/Execute
v6 v7 74 74 2. Once you are logged in, ask for precipitation data from 1 Jan 1902 to 2 Jan 1902: 75 75 {{{ 76 77 78 76 /opt/ccnx-atmos/client.py 77 Start Date in YYYY/MM/DD? 1902/01/01 78 End Date in YYYY/MM/DD? 1902/01/02 79 79 }}} 80 80 3. You should see output that looks like: … … 84 84 Asking for /ndn/colostate.edu/netsec/pr_1902/01/02/00, Saving to pr_1902_01_02.tmp.nc 85 85 Time for pr_1902_01_02.tmp.nc 4.65998315811= 86 86 Joining files.. 87 87 Concat + write time 0.0735998153687 88 88 Wrote to pr_1902_1_1_1902_1_2.nc 89 89 }}} 90 90 Note that it took about 1.1 and 4.7 seconds respectively to retrieve data for Jan 1 and Jan 2 91 4. Run the client again and request the same data. This time your output should look like:92 {{{93 Asking for /ndn/colostate.edu/netsec/pr_1902/01/01/00, Saving to pr_1902_01_01.tmp.nc94 Time for pr_1902_01_01.tmp.nc 0.0423700809479=95 Asking for /ndn/colostate.edu/netsec/pr_1902/01/02/00, Saving to pr_1902_01_02.tmp.nc96 Time for pr_1902_01_02.tmp.nc 0.0388598442078=97 Joining files..98 Concat + write time 0.023751020431599 Wrote to pr_1902_1_1_1902_1_2.nc100 }}}91 4. Run the client again and request the same data. This time your output should look like: 92 {{{ 93 Asking for /ndn/colostate.edu/netsec/pr_1902/01/01/00, Saving to pr_1902_01_01.tmp.nc 94 Time for pr_1902_01_01.tmp.nc 0.0423700809479= 95 Asking for /ndn/colostate.edu/netsec/pr_1902/01/02/00, Saving to pr_1902_01_02.tmp.nc 96 Time for pr_1902_01_02.tmp.nc 0.0388598442078= 97 Joining files.. 98 Concat + write time 0.0237510204315 99 Wrote to pr_1902_1_1_1902_1_2.nc 100 }}} 101 101 Notice how much faster the data was retrieved this time. 102 5. If time permits, log into the collaborator node {{{collab}}} and run queries from there.Notice different data retrieval times depending on whether the data came from the datasource, cache at {{{rsrchr}}} or the local cache.102 5. If time permits, log into the collaborator node {{{collab}}} and run queries from there. (Pick dates in 1901 or 1902.) Notice different data retrieval times depending on whether the data came from the datasource, cache at {{{rsrchr}}} or the local cache. 103 103 104 104