l3mapgen/smigen redux

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
OB SeaDAS - dshea
Subject Matter Expert
Subject Matter Expert
Posts: 259
Joined: Thu Mar 05, 2009 10:25 am America/New_York
Answers: 0
Been thanked: 2 times

l3mapgen/smigen redux

by OB SeaDAS - dshea » Mon Jul 27, 2020 9:46 am America/New_York

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

Tags:

blesht
Posts: 86
Joined: Mon Sep 19, 2005 3:06 pm America/New_York
Answers: 0

l3mapgen/smigen redux

by blesht » Mon Jul 27, 2020 11:07 am America/New_York

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

Post Reply