How can I fetch the most recent data recorded by the cpd program from my LiveCPD system?
The data are located in the /aer/${stn}/log directory, where ${stn} denotes the lower-case station identification code (e.g., “mlo” for Mauna Loa). A computer that has been configured to allow login to the LiveCPD system (at address ${IP}) without a password can download these files with the following command (all on one line): scp -p cpd@${IP}:/aer/${stn}/log/*_2*_* . Note that output buffering by the operating system causes these files to be a bit behind real-time, and to potentially have incomplete last lines. Alternatively, a listing of the latest 30 minutes of aerosol data can be displayed by executing this command on the remote computer (all on one line): ssh cpd@{IP} ‘cpdrotate; sleep 5; ssh cpd@${IP} cnvth__ /aer/${stn}/log/AEROSL* |sort -u |tail -30’ Use of the ‘cpdrotate’ command causes the current output files to closed and the buffers flushed, ensuring that the most recent data are displayed.
Related Questions
- Our Case Management program imports data to the PCS from the OMH CAIRS system. Should we create a PCS submission for each client that appears on the associated client roster?
- Recent changes to products that we can obtain from Ordnance Survey Mapping and Data Centre system?
- What are the system requirements for using the Data Facts program?