Skip to content

Commit

Permalink
The NPP segments will be no longer bz2 compressed. Removed the bz2
Browse files Browse the repository at this point in the history
extension in AddSegmentsToList.
  • Loading branch information
hvanruys committed Apr 26, 2018
1 parent d0f83a6 commit 84550c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/avhrrsatellite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ void AVHRRSatellite::AddSegmentsToList(QFileInfoList fileinfolist)
else
delete segM02hrpt;
}
} else if (fileInfo.fileName().mid( 0, 8) == "SVMC_npp" && fileInfo.fileName().mid( 77, 3) == "bz2" && fileInfo.isFile()) // NPP-2
} else if (fileInfo.fileName().mid( 0, 8) == "SVMC_npp" && fileInfo.isFile()) //fileInfo.fileName().mid( 77, 3) == "bz2") // NPP-2
{
seglviirsm->SetDirectoryName(fileInfo.absolutePath());
QFile file( fileInfo.absoluteFilePath());
Expand All @@ -294,7 +294,7 @@ void AVHRRSatellite::AddSegmentsToList(QFileInfoList fileinfolist)
}
else
delete segviirsm;
} else if (fileInfo.fileName().mid( 0, 10) == "SVDNBC_npp" && fileInfo.fileName().mid( 79, 3) == "bz2" && fileInfo.isFile()) // NPP-2
} else if (fileInfo.fileName().mid( 0, 10) == "SVDNBC_npp" && fileInfo.isFile()) //&& fileInfo.fileName().mid( 79, 3) == "bz2") // NPP-2
{
//SVDNBC_npp_d20150810_t0033443_e0035085_b19602_c20150824113128000166_eum_ops.h5.bz2
//0123456789012345678901234567890123456789012345678901234567890123456789012345678901
Expand Down

0 comments on commit 84550c9

Please sign in to comment.