Skip to content

Commit

Permalink
fixed hirs being mirrored
Browse files Browse the repository at this point in the history
  • Loading branch information
ZbychuButItWasTaken committed Oct 18, 2021
1 parent d4bb7a0 commit 581d89d
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions src-core/modules/noaa/instruments/hirs/hirs_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,29 +78,11 @@ namespace noaa
imageBuffer[i][enct][line] = abs(buffer);
}

channels[i][enct + 56 * line] = imageBuffer[i][enct][line];
channels[i][56 - enct + 56 * line] = imageBuffer[i][enct][line];
}
}
}

/*
void HIRSReader::process()
{
std::vector<unsigned short> channelBuffer;
for (int channel = 0; channel < 20; channel++)
{
for (int ln = 0; ln < line; ln++)
{
for (int x = 0; x < 56; x++)
{
channelBuffer.push_back(imageBuffer[channel][x][ln]);
}
}
channels[channel][0] = channelBuffer[0];
}
}
*/

cimg_library::CImg<unsigned short> HIRSReader::getChannel(int channel)
{
return cimg_library::CImg<unsigned short>(channels[channel], 56, line);
Expand Down

0 comments on commit 581d89d

Please sign in to comment.