This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi David, Sorry for the slowness in my reply (meetings, and helping out with a GEMPAK problem loading EAST-CONUS NOAAPort images after GOES-13 replaced GOES-12 on Wednesday)... re: > Yes, I do believe that the break statement as mentioned below is in the > wrong spot. Moving it down below the write and logging statements fixes > the problem it seems by allowing it to write out the last few lines. You are absolutely correct, the break is coming at the wrong part of the logic chain. Also, I think that after the move the test should be: nline = d_stream.total_out / elems; totlin += nline; write( fd_out, uncompr, d_stream.total_out ); udebug( "bytes in: %4d, bytes out: %4d, nlines = %2d, total lines = %4d", d_stream.total_in, d_stream.total_out, nline, totlin ); if ( totlin >= lines ) break; I will correct this in the next release of ldm-mcidas. Just so you know, we didn't notice this since we do not rely on the images being uncompressed in either GEMPAK or McIDAS. Thanks for the helpful sleuthing! Cheers, Tom -- **************************************************************************** Unidata User Support UCAR Unidata Program (303) 497-8642 P.O. Box 3000 address@hidden Boulder, CO 80307 ---------------------------------------------------------------------------- Unidata HomePage http://www.unidata.ucar.edu **************************************************************************** Ticket Details =================== Ticket ID: LRT-707051 Department: Support ldm-mcidas Priority: Normal Status: Closed