Hi LAS mailing list, I have a problem with <init_script> in TDS. The TDS is working fine when I have no initial script. *Working http://apdrc.soest.hawaii.edu/thredds/dodsC/las/sim2bl_atms_test/catalog.html It generate a *.jnl ferret script with USE: USE "http://apdrc.soest.hawaii.edu/dods/public_data/Paleoclimate_modeling/ECBilt-CLIO/SIM2bl/atm-season-DJF/E-P" It works fine in TDS. Then I have init_script tag in my xml file. *Not Working <chi-id-9077fd7b72 name="velocity potential" units="m^2/s" url=""> <link match="/lasdata/grids/grid-lon-lat-lev-time-id-9077fd7b72" /> <properties> <ferret> <init_script>taxis_initialize_z_level</init_script> </ferret> </properties> </chi-id-9077fd7b72> init_script: ============================== SET DATA ($data_url) define axis/t=0:20999:1/UNITS="yrs after 21K BP" tax define grid/like=u/t=tax xyz_g set var/name=init_fix_name ($data_var_nq) ! Now define variable with new grid and original name LET ($data_var_nq) = init_fix_name[gt=xyz_g@asn] ============================ It will generate the script in TDS: http://apdrc.soest.hawaii.edu/thredds/dodsC/las/sim2bl_atm_ann/catalog.html DEFINE SYMBOL data_url \"http://apdrc.soest.hawaii.edu/dods/public_data/Paleoclimate_modeling/ECBilt-CLIO/SIM2bl/atm-annual/P_U3\" DEFINE SYMBOL data_var chi GO taxis_initialize_z_level I guess this is an issue in LAS. Let me know how to fix it or you can fix it on your next LAS version. Thanks, Kin |