nerrcode = mod(calerr,100)
nroutine = (calerr - nerrcode)/100
if (nerrcode .eq. 1) then
else if (nerrcode .eq. 2) then
else if (nerrcode .eq. 3) then
else if (nerrcode .eq. 4) then
if (nerrcode .eq. 0) then
else if (nerrcode .eq. 1) then
else if (nerrcode .eq. 5) then
else if (nerrcode .eq. 6) then
else if (nerrcode .eq. 7) then
else if (nerrcode .eq. 8) then
integer nerrcode