RickKessler / SNANA

Supernova Analysis package
38 stars 23 forks source link

WGTMAP out of bounds abort #523

Closed pmacias closed 3 years ago

pmacias commented 3 years ago

Hi Rick,

I am trying to incorporate the V21 WGTMAP on a test sim on type IIs

cd /project2/rkessler/SURVEYS/WFIRST/USERS/pmacias/dev/sim

snlc_sim.exe SIMGEN_WFIRST_Allz_NONIA.input

and I'm falling off the grid resulting in an abort.

PRE-ABORT DUMP from function init_HOSTLIB_WGTMAP : GALID = 1275908 (ibin_SNVAR=0, igal=4) logmass = 4.064000 (WGTMAP range: 5.000000 to 13.960000) logsfr = -4.667000 (WGTMAP range: -20.100000 to 3.980000)

Is there a way to extrapolate similar to what is done for the zHOST maps?

Thanks! -Phil

RickKessler commented 3 years ago
OPT_EXTRAP_WGTMAP

Try this new feature highlighted in yellow. It's NOT tested, so send me command if it doesn't work.

pmacias commented 3 years ago

Hi Rick,

This is perfect, thanks.

It ran through on a small test of 1000 SNe; I'll do some checks on the output once I have it run through the full sim.

Best, Phil

RickKessler commented 3 years ago

gonna close for now ... re-open if needed.