1 #ifndef SELBOXINFO_H
2 #define SELBOXINFO_H
3 
4 struct SelboxInfo
5 {
6   int gridtype = -1;
7   int gridID1 = -1, gridID2 = -1;
8   std::vector<long> cellidx;
9   long nvals = 0;
10   long lat1 = 0, lat2 = 0, lon11 = 0, lon12 = 0, lon21 = 0, lon22 = 0;
11 };
12 
13 void genlonlatbox(int argc_offset, int gridID, SelboxInfo &sbox);
14 void genindexbox(int argc_offset, int gridID1, SelboxInfo &sbox);
15 
16 #endif
17