[ncl-talk] ncl_convert2nc not accepting more than two input files with ncl 6.4
David Brown
dbrown at ucar.edu
Thu May 25 15:37:50 MDT 2017
Hi Franco,
I have fixed this issue in the development version of NCL. Since this
is a shell script that will run without re-building NCL and it is not
very large, I am attaching a copy for you (or anyone on the list) to
try out. Let me if you encounter issues with it.
-dave
On Mon, May 8, 2017 at 1:31 PM, David Brown <dbrown at ucar.edu> wrote:
> Hi Franco,
> This is a consequence of modifications to support filenames with
> spaces in the ncl_convert2nc code. Now for whatever reason the code is
> treating two filenames as a single name in certain cases. I am looking
> into a solution for this problem.
> -dave
>
> On Mon, May 8, 2017 at 8:22 AM, Franco Catalano
> <franco.catalano at uniroma1.it> wrote:
>> Hi,
>> I am using ncl_convert2nc to convert a list of hdf-eos files to netcdf. This
>> worked just fine with ncl 6.3.
>> This is the way I use the command:
>> ncl_convert2nc $dir_data/file1.hdf $dir_data/file2.hdf $dir_datafile3.hdf -e
>> hdf
>> where $dir_data is the path of the directory containing the data.
>>
>> Unfortunately, after updating to the latest release of ncl (6.4), I have
>> noticed that this command is not working anymore when more than 2 files are
>> given as input. This is the error with 3 files as input:
>> ifiles_t: Subscript out of range.
>> ifiles_t: Subscript out of range.
>>
>> Converting one file at a time or 2 files works.
>> I suspect this is a bug of latest release.
>>
>> Thanks.
>> Regards,
>>
>> Franco
>>
>> ___________________________________________
>> Il tuo 5 diventa 1000
>> Fai crescere la tua università
>> Dona il 5 per mille alla Sapienza
>> Codice fiscale: 80209930587
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ncl_convert2nc
Type: application/octet-stream
Size: 64723 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170525/4376443b/attachment.obj
More information about the ncl-talk
mailing list