aodn / imos-user-code-library

Code library of helper functions and examples for working with NetCDF data files typically sourced from IMOS
GNU General Public License v3.0
19 stars 15 forks source link

URLs need to be updated #13

Open xhoenner opened 8 years ago

xhoenner commented 8 years ago

Most URLs in the wiki and in the code are now invalid as the thredds URL has changed from http://thredds.aodn.org.au/thredds/dodsC/IMOS to http://thredds.aodn.org.au/thredds/imos.html. The IMOS_user_code_library_specifications.pdf file will also have to be updated accordingly.

ggalibert commented 8 years ago

Could you please be more specific about the problem?

For example in MATLAB_R2011/demos/anmn_adcp.m :

http://thredds.aodn.org.au/thredds/dodsC/IMOS/eMII/demos/ANMN/WA/WATR50/Velocity/IMOS_ANMN-WA_VATPE_20120516T040000Z_WATR50_FV01_WATR50-1205-Workhorse-ADCP-498_END-20121204T021500Z_C-20121207T023956Z.nc

still works fine while:

http://thredds.aodn.org.au/thredds/imos/eMII/demos/ANMN/WA/WATR50/Velocity/IMOS_ANMN-WA_VATPE_20120516T040000Z_WATR50_FV01_WATR50-1205-Workhorse-ADCP-498_END-20121204T021500Z_C-20121207T023956Z.nc

does not.

xhoenner commented 8 years ago

Neither of these work for me.

ggalibert commented 8 years ago

The first one is an OPENDAP url that you can query with ncdump for example. The modified one according to your suggestion doesn't work.

ggalibert commented 8 years ago

Looks like OPENDAP URL are left unchanged while pure THREDDS URL have changed but sometimes in quite unexpected ways:

http://thredds.aodn.org.au/thredds/dodsC/IMOS/SRS/SRS-SST/L3S-01day

became

http://thredds.aodn.org.au/thredds/catalog/IMOS/SRS/sst/ghrsst/L3S-1d/catalog.html

@danfruehauf what's the best way to identify broken URL?

danfruehauf commented 8 years ago

@ggalibert That's something that @lbesnard wanted me to modify, so I just followed what he told me. I am aware of that change.

ggalibert commented 8 years ago

Do you mean that you are/will be working at fixing this issue?

danfruehauf commented 8 years ago

Do you mean that you are/will be working at fixing this issue?

There's nothing to fix. That is how @lbesnard wanted it. If it's not good, raise an issue in aodn/content.

ggalibert commented 8 years ago

Ok, so maybe @lbesnard is best placed to apply the modification he wanted on URLs to the imos-user-code-library code and documentation.

danfruehauf commented 8 years ago

@ggalibert Perhaps. I think it's even better to have some sort of a config file that can be populated, so if those URLs change, it's a config change rather than a code change.

lbesnard commented 8 years ago

only URL's in the wiki could be wrong. All URL's in demo scripts should all work as the netcdf files are stored in http://thredds.aodn.org.au/thredds/catalog/IMOS/eMII/demos/catalog.html which is independent of any data migration, folder modification ...