Hello!
This format appears to work:
hdp dumpsds -n 'xxx xxx','zzz zzz' -d file.hdf >& file.txt
Could you try that?
I tried it with a file I found and it worked for me:
$ hdp dumpsds -n 'CO Profiles Percent Apriori Day' -d MOP03M.hdf > &
mop1.txt
$ hdp dumpsds -n 'CO Profiles Percent Apriori Night' -d MOP03M.hdf >&
mop2.txt
$ hdp dumpsds -n 'CO Profiles Percent Apriori Day','CO Profiles Percent
Apriori Night' -d MOP03M.hdf >& mopboth.txt
$ ls -l mop*.txt
-rw-r--r-- 1 bljones hdf 4923487 May 31 09:06 mop1.txt
-rw-r--r-- 1 bljones hdf 4823103 May 31 09:08 mop2.txt
-rw-r--r-- 1 bljones hdf 9746590 May 31 09:09 mopboth.txt
-Barbara
On Wed, 30 May 2012, gdal wrote:
Hi there,
I'm trying to dump one SDS into an ascii file using the following command:
hdp dumpsds -n "Daily Avg, Tot-Sky, Sfc Net LW Flux - Mod B" -d -o
test_var.dat file_name.hdf
but I'm getting these errors:
SDS with name 'Daily Avg': not found
SDS with name ' Tot-Sky': not found
SDS with name ' Sfc Net LW Flux - Mod B': not found
which seem to be due to the commas in my relatively complex variable name
(i.e., "Daily Avg, Tot-Sky, Sfc Net LW Flux - Mod B").
Does anybody know how to get around this problem?
Any help will be greatly appreciated.
Many thanks in advance.
grg
--
View this message in context:
http://hdf-forum.184993.n3.nabble.com/commas-in-variable-name-tp4024208.html
Sent from the hdf-forum mailing list archive at Nabble.com.
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
--
Barbara Jones
[email protected]
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org