; szss96_test_struct1.pro -- translated by f2idl ; using argument information from test_struct1.f and test_struct1_f.c ; and documentation information from test_struct1.f ;+ ; NAME: ; szss96_test_struct1 ; ; PURPOSE: ; Return initial altitudes etc ; CALLING SEQUENCE: ; szss96_test_struct1 ; ; OUTPUTS: ; ; zm - altitude [m, km array] ; tem - temperature [K, km array] ; MODIFICATION HISTORY: ; Written 2007 Feb 7, LAY ; : ; ;- PRO szss96_test_struct1 ; -------------------- This function name fcn = 'szss96_test_struct1' ; -------------------- 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_test_struct1: 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_test_struct1__' RESULT = CALL_EXTERNAL( lib_name, ENTRY_NAME, $ /verbose ) end