; szss96_pluto_init.pro -- translated by f2idl ; using argument information from pluto_init.f and pluto_init_f.c ; and documentation information from pluto_init.f ;+ ; NAME: ; szss96_pluto_init ; ; PURPOSE: ; Return initial altitudes etc ; CALLING SEQUENCE: ; szss96_pluto_init ; ; OUTPUTS: ; ; zm - altitude [m, km array] ; tem - temperature [K, km array] ; MODIFICATION HISTORY: ; Written 2007 Feb 7, LAY ; : ; ;- PRO szss96_pluto_init ; -------------------- This function name fcn = 'szss96_pluto_init' ; -------------------- assign parameters (including dimensions) KM = 106 LM = 5 ;------------------------- ; setup the output variables that will be passed to the fortran ; routine ;------------------------- ; check all variables if n_params() ne 0 then begin print,'szss96_pluto_init: wrong number of arguments' return endif ;------------------------- ; Find root directory for library tname findpro, fcn, dirlist=dirlist, /noprint if dirlist[0] eq '' then root = '.' else root = dirlist[0] ;------------------------- ; CALL lib_name = root + '/szss96.so' entry_name = 'idl_ce_call_pluto_init__' RESULT = CALL_EXTERNAL( lib_name, ENTRY_NAME, $ /verbose ) end