Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ashlinrichardson committed Dec 18, 2024
1 parent 86add3f commit 21bc5f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/raster_entropy2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
#include"misc.h"

int main(int argc, char ** argv){
if(argc < 2) err("raster_entropy [raster cube] # add bands together for a raster\n");
if(argc < 2) err("raster_entropy2 [raster cube] # add bands together for a raster\n");
size_t nrow, ncol, nband, np;
float * out, * dat;
size_t i, j, k;

str fn(argv[1]);
str ofn(fn + str("_entropy.bin"));
str ofn(fn + str("_entropy2.bin"));
str ohn(hdr_fn(ofn, true)); // out header file name

if(!exists(fn)) err("failed to open input file");
Expand Down

0 comments on commit 21bc5f1

Please sign in to comment.