PRO NUMCUBEPRAMS,outarray,date=date,working_dir=working_dir,$ nreinit=nreinit,getmas=getmas,getawsom=getawsom,$ cubename=cubename,cuberot=cuberot0,$ bout=bout0, bnorm=bnorm0,$ hydro=hydro0,densprof=densprof,te=te,t0=t0,$ odensprof=odensprof,ot0=ot0,topology=topology0,$ cdensprof=cdensprof,ct0=ct0,$ deltar=deltar0,velimpose=velimpose0,$ coldpts=coldpts0,dthres=dthres0,p2fill=p2fill0,$ magmod=magmod,mheat=mheat,choosehigh=choosehigh,$ nowidgmess=nowidgmess,nofield=nofield0,$ saveprams=saveprams,readprams=readprams ;+ ; ;Name: ; NUMCUBEPRAMS ; ;Purpose: ; To set up the structure containing the information needed ; to run a data cube interpolation. This procedure is to be ; called by the driver routine with keyword inputs that ; with resulting structure OUTARRAY assigned to ModPramsStruct ; (with ModPramsStruct.name='numcube') ; ;Keyword inputs: ; ; CUBENAME: Filename (inluding extention and path) of the numerical datacube ; you want to look at. File must be in the correct format, ; use make_my_cube.pro in this directory to convert your ; cube. ; ; BOUT: how to handle the magnetic field ouside the ; cube. The options are: ; ; BOUT=1; no magnetic field outside the cube (DEFAULT) ; BOUT=2; radial open field. default strength. ; Changes sign at equator. ; note that ; there will probably be a discontionuity at the ; edge of the cube. ; BOUT=3; dipole field. default strength. note that ; there will probably be a discontionuity at the ; edge of the cube. ; ; BNORM: magnitude of external field for BOUT = 2 or 3 ; DEFAULT 10 Gauss ; ; ; VELIMPOSE - impose a velocity of constant magnitude VELIMPOSE directed along the field ; overwrites any velocity field already loaded in if nonzero ; DEFAULT 0.d0 ; ; NOFIELD - turn off magnetic field in simulation ; *OR if not 0 or 1, can act as a multiplier on field ; DEFAULT 0 (model field) ; ; DTHRES - DOUBLE : Identify POP2 coronal points that are dense and can be treated ; as different population ; If unset or set to 0, will be ignored; if set to non-zero ; will be interpreted as density above which points are ; designated population 2. (If set to 1 will default to 5d8 cgs) ; This will result in creation of POP2DENS zeroed everywhere except ; D>THRESD - this will be set up in NUMCUBE.PRO ; This will overwrite any POP2DENS tag already in CUBE. ; Note if COLDPTS also set, DTHRES will be ignored. ; DEFAULT 0 ; COLDPTS - DOUBLE : Identify points that are cold as different population ; If unset or set to 0, will be ignored; if set to non-zero ; will be interpreted as temperature below which points are ; designated population 2. (If set to 1 will default to 3d4 K) ; This will result in creation of POP2DENS zeroed everywhere except ; T