Page 2 of 2

l3mapgen/smigen redux

Posted: Mon Jul 27, 2020 9:46 am America/New_York
by OB SeaDAS - dshea
Look at the function:

get_minmax_rowcol()
file: smigen.cpp
line: 2324

Looks like line 2331 does truncate.  Unfortunately, I like the way l3mapgen does it better.

don

l3mapgen/smigen redux

Posted: Mon Jul 27, 2020 11:07 am America/New_York
by blesht
Thanks, Don.  Nothing 'unfortunate' about it really.  I just wanted to try to understand what was happening so I could figure out the best way to 'fudge' things to make the grids match.  I really, really, appreciate your help.  Makes me wonder though, what if I created my own version of l3mapgen by modifying the original source to truncate instead of rounding and recompiled?  Then I could call my own modified version of l3mapgen when I needed it.  Probably too dangerous an idea for my limited skills.  Again, thanks.   Barry