This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
I have not given up yet. I have two experiments I would like you to try. Each is in the form of a php program to use in place of the one that is failing. Please report back the output from each experiment. Program 1: <?php exec("wget http://dods.ipsl.jussieu.fr/cgi-bin/nph-dods/brocksce/ATM_t2m_global_ave_small.nc 2>&1", $output1); print_r(implode("\n", $output1)); ?> This test program replaces ncdump with wget. It will tell us if the problem is specific to ncdump or to the environment. Program 2 <?php exec("/home/webservices/test_ferret/netcdf-4.1.1/bin/ncdump -h '[show=fetch]http://dods.ipsl.jussieu.fr/cgi-bin/nph-dods/brocksce/ATM_t2m_global_ave_small.nc' 2>&1", $output1); print_r(implode("\n", $output1)); ?> This test program adds [show=fetch] to the url. This will cause ncdump to show the files that it is fetching. Note that I placed the url in '...' because the square brackets can cause errors. You can try both with and without the '...'. =Dennis Heimbigner Unidata Ticket Details =================== Ticket ID: DOE-704686 Department: Support netCDF Priority: Normal Status: Closed