solarmonitor / solarmonitoridl

4 stars 7 forks source link

Make MMOTD2ARM procedure error-proof #11

Open dpshelio opened 11 years ago

dpshelio commented 11 years ago

Originally reported by: David PS (Bitbucket: dvdgc, GitHub: Unknown)


I've got this error while running it today.

#!idl
% Compiled module: MMMOTD2ARM.
% HTTP::READ_RESPONSE: READF: End of file encountered. Unit: 112, File: solar.physics.montana.edu.80
% HTTP::READ_RESPONSE: Retrying...
% HTTP::READ_RESPONSE: READF: End of file encountered. Unit: 112, File: solar.physics.montana.edu.80
% Attempt to subscript FILES with <LONG     (          -1)> is out of range.
% Execution halted at: MMMOTD2ARM         34 /home/dvd/Documents/Programming/workspace/sm-batch/idl/mmmotd2arm.pro
%                      ARM_BATCH         277 /home/dvd/Documents/Programming/workspace/sm-batch/idl/arm_batch.pro
%                      $MAIN$          

This kind of errors cannot break the whole run!