comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: % OPENW: Error opening file.
items: Re: % OPENW: Error opening file.

% OPENW: Error opening file.
type: item
description: Hi folks, I'm attempting to run the LandTrendr model in IDL, and have hit a snag. I have virtually no IDL experience, but was told that since the code is already written and has been tested, I should have very few hiccups. I've made it through a good number of modules, but have hit a breaking point. I don't know if there is enough background provided here for any of you to help my get past this error, but any help you may be able to provide would be greatly appreciated. Cheers. This is the error message I am getting: % OPENW: Error opening file. Unit: 100, File: E:\034032\outputs\nbr\LT_v2.00_nbr_034032_eval01_2015-02-26T 20:31:39.00005310773531Z_vertyrs.bsq The filename, directory name, or volume label syntax is incorrect. And here is the code: function process_tbcd_chunks, run_params, progressbaryesno ;copy over just to make it work with historical code. image_info = run_params.image_info index = run_params.index ;string with name of index subset=run_params.subset mask_image = run_params.mask_image output_base = run_params.output_base kernelsize = run_params.kernelsize background_val = run_params.background_val skipfactor = run_params.skipfactor desawtooth_val = run_params.desawtooth_val pval = run_params.pval max_segments = run_params.max_segments fix_doy_effect = run_params.fix_doy_effect divisor =run_params.divisor minneeded = run_params.minneeded recovery_threshold=run_params.recovery_threshold distweightfactor = run_params.distweightfactor vertexcountovershoot = run_params.vertexcountovershoot bestmodelproportion = run_params.bestmodelproportion progressval = 0 ;set to record progress progressinc = 10 ;for the increment ;make a directory file_mkdir, file_dirname(output_base) ;tests if vertexcountovershoot gt 3 then begin print, 'Vertexcountovershoot cannot exceed 3' return, -1 end if bestmodelproportion gt 1 then begin print, 'bestmodelproportion cannot exceed 1. Should be in the 0.5 to 1.0 range.' return, -1 end ;first, check to see if the output image alrea…
creator: BWood
date: 2015-02-26T22:19:45-00:00

Re: % OPENW: Error opening file.
type: item
description: > % OPENW: Error opening file. Unit: 100, File: E:\034032\outputs\nbr\LT_v2.00_nbr_034032_eval01_2015-02-26T 20:31:39.00005310773531Z_vertyrs.bsq > The filename, directory name, or volume label syntax is incorrect. > openw, un, output_image_group[i].filename, /get_lun A brief search on google says that Windows does not like colons in filenames. I tried creating the same file on my Mac and had no problems.
creator: Matthew Argall
date: 2015-02-26T22:34:10-00:00

Re: % OPENW: Error opening file.
type: item
description: On Thursday, February 26, 2015 at 3:34:12 PM UTC-7, Matthew Argall wrote: >> % OPENW: Error opening file. Unit: 100, File: E:\034032\outputs\nbr\LT_v2.00_nbr_034032_eval01_2015-02-26T 20:31:39.00005310773531Z_vertyrs.bsq >> The filename, directory name, or volume label syntax is incorrect. >> openw, un, output_image_group[i].filename, /get_lun > > A brief search on google says that Windows does not like colons in filenames. I tried creating the same file on my Mac and had no problems. Matthew, Sometimes it is the little things. Even still, I can't thank you enough for your assistance. Best, Brian
creator: BWood
date: 2015-02-26T22:51:21-00:00