Charlie, it's best for you to take over; I am still 2 versions behind (will update soon); but my dependencies are shaky, I did try to do a complete build , with bld.bat, that git clones all dependencies ; but since this was setup, some dependencies changed, and now some fail to build; so, I have to rely on the existing dependencies already built on my laptop, not ideal; the ideal would be to have a dedicated git repo with all working dependencies ; but this is a major time consuming effort
Charlie, it's best for you to take over; I am still 2 versions behind (will update soon); but my dependencies are shaky, I did try to do a complete build , with bld.bat, that git clones all dependencies ; but since this was setup, some dependencies changed, and now some fail to build; so, I have to rely on the existing dependencies already built on my laptop, not ideal; the ideal would be to have dedicated git repo with all working dependencies ; but this is a major time consuming effort
netcdf nos.gomofs.2ds.f001.20210507.t18z { dimensions: boundary = 4 ; eta_psi = 776 ; eta_rho = 777 ; eta_u = 777 ; eta_v = 776 ; ocean_time = UNLIMITED ; // (1 currently) s_rho = 30 ; s_w = 31 ; tracer = 2 ; xi_psi = 1172 ; xi_rho = 1173 ; xi_u = 1172 ; xi_v = 1173 ; variables: double Akk_bak ; Akk_bak:long_name = "background vertical mixing coefficient for turbulent energy" ; Akk_bak:units = "meter2 second-1" ; double Akp_bak ; Akp_bak:long_name = "background vertical mixing coefficient for length...
@zender the problem is that https is not considred here this works for https (replacing 8 with 9, 7 with 8 and 'http' with 'https') this will need to handle both http and https /* Remote access detection; this should be replaced with NC_testurl; DAP-URL = "http://" host [ ":" port ] [ abs-path ] */ if(strlen(fl_pth) < 8UL) is_url=False; else{ sng=(char *)nco_malloc(9); sng=strncpy(sng,fl_pth,9); sng[8]='\0'; if(!strcmp("https://",sng)) is_url=True; else is_url=False; sng=(char *)nco_free(sng); }...
I did notice that there is a space between the -p URL and the file name -p https://opendap.co-ops.nos.noaa.gov/thredds/dodsC/NOAA/GOMOFS/MODELS/2021/05/07 nos.gomofs.2ds.f001.20210507.t18z.nc this is how the variable for the file name is assigned /* Make sure file is on local system and is readable or die trying */ fl_in=nco_fl_mk_lcl(fl_in,fl_pth_lcl,HPSS_TRY,&FL_RTR_RMT_LCN); 0x0000022afcd994c0 "https://opendap.co-ops.nos.noaa.gov/thredds/dodsC/NOAA/GOMOFS/MODELS/2021/05/07\nos.gomofs.2ds.f001.20210507.t18z.nc"...
I do have the same error; will try to debug further C:\nco>ncks -M -m -p https://opendap.co-ops.nos.noaa.gov/thredds/dodsC/NOAA/GOMOFS/MODELS/2021/05/07 nos.gomofs.2ds.f001.20210507.t18z.nc syntax error, unexpected $end, expecting SCAN_ATTR or SCAN_DATASET or SCAN_ERROR context: ^ ERROR: nco__open() unable to open file "https://opendap.co-ops.nos.noaa.gov/thredds/dodsC/NOAA/GOMOFS/MODELS/2021/05/07\nos.gomofs.2ds.f001.20210507.t18z.nc" ERROR NC_EACCESS Access failure HINT: NC_EACCESS errors signify...
that error C:\source\cmake\build\hdf5\src\H5public.h(32,10): fatal error C1083: Cannot open include file: 'H5version.h': No such file or directory [C:\source\cmake\build\hdf5\build\ it's a HDF5 only issue (nothing to do with NCO) . I suggest asking in the HDF5 forum https://forum.hdfgroup.org/
that error C:\source\cmake\build\hdf5\src\H5public.h(32,10): fatal error C1083: Cannot open include file: 'H5version.h': No such file or directory [C:\source\cmake\build\hdf5\build\ it's a HDF5 only issue (nothing to do with nCO) . I suggest asking in the HDF5 forum https://forum.hdfgroup.org/