Sorry for bugging again... I got segmentation fault error. My ascii file is
formatted as x y z I (they are separated by a space, no header line). Is it
because there might be some funky points in my data? Our point cloud data
has some noise so far we haven't figured out a good way to remove. If
helpful for more info, here is the ASCII file I'm converting to spd.
ftp://earth.bu.edu/zhanli86/hfhd_20140919_c_ascii.txt

thanks,

Zhan.

On Wed, Feb 4, 2015 at 8:57 AM, Pete Bunting <petebunt...@mac.com> wrote:

> HI Zhan,
>
> If you open the SPD file in hdfview then you can save out the quicklook
> image.
>
> Cheers, Pete
>
>
>
> On 4 Feb 2015, at 13:05, Zhan Li <zhanli1...@gmail.com> wrote:
>
> Oh oh this is embarrassing that I missed my typo error... Hectic day...
> But good to to know the indexing should export to SPD. I was wondering if
> ASCII to ASCII could work...
>
> Is there a way to export the quick view image in SPD to a tif or other
> imag file? If not I think I'll read the quick view from the SPD and save
> it?
>
> Thanks
>
> Zhan.
>
> On Wednesday, February 4, 2015, Pete Bunting <petebunt...@mac.com> wrote:
>
>> Hi Zhan,
>>
>> Going from ascii to ascii won’t do anything in terms of an index. If you
>> want an indexed file it needs to be an SPD file. So you should have --if
>> ACSII --of SPD.
>>
>> Cheers, Pete
>>
>> On 4 Feb 2015, at 07:30, Daniel Clewley <daniel.clew...@gmail.com> wrote:
>>
>> HI Zhan,
>>
>> I think the problem is you’re only using single dashes for -if and -of it
>> should be:
>>
>> —if ASCII —of ASCII
>>
>> To get the latest version of SPDLib you can check out the development
>> version:
>>
>> hg clone https://bitbucket.org/petebunting/spdlib
>>
>> Thanks,
>>
>> Dan
>>
>> On 4 Feb 2015, at 01:05, Zhan Li <zhanli1...@gmail.com> wrote:
>>
>> I got error from running spdtranslate in my installed version. Maybe
>> there is a updated version I need to reinstall?
>>
>> Thanks,
>>
>> Zhan.
>>
>> $ spdtranslate --output
>> "HFHD_20140919_C_1064_cube_bsfix_pxc_update_atp2_sdfac2_sievefac10_ptcl_points_ascii_hsproj.txt"
>> --input
>> "HFHD_20140919_C_1064_cube_bsfix_pxc_update_atp2_sdfac2_sievefac10_ptcl_points_ascii.txt"
>> -if ASCII -of ASCII --polar -x MAX_INTENSITY
>>
>> It reports errors in the following.
>>
>> spdtranslate SPDLib 3.0.0, Copyright (C) 2012 Sorted Pulse Library (SPD)
>> This program comes with ABSOLUTELY NO WARRANTY. This is free software,
>> and you are welcome to redistribute it under certain conditions; See
>> website (http://www.spdlib.org). Bugs are to be reported on the trac
>> or directly to spdlib-develop@lists.sourceforge.net
>> PARSE ERROR: Argument: -i
>>              Couldn't find match for argument
>>
>> Brief USAGE:
>>    spdtranslate  -o <String> -i <String> [-f] [--pulseversion <unsigned
>>                  int>] [--pointversion <unsigned int>] [--wavenoise
>>                  <float>] [--Oz <float>] [--Oy <double>] [--Ox <double>]
>>                  [--defineOrigin] [--tly <double>] [--tlx <double>]
>>                  [--defineTL] [--keeptemp] [--convert_proj] [--output_proj
>>                  <string>] [--input_proj <string>] [-b <float>] [-c
>>                  <unsigned int>] [-r <unsigned int>] [-s <string>] [-t
>>                  <string>] [--scan] [--polar] [--spherical] [--wavebitres
>>                  <8BIT|16BIT|32BIT>] [-x <FIRST_RETURN|LAST_RETURN
>>                  |START_WAVEFORM|END_WAVEFORM|ORIGIN|MAX_INTENSITY
>>                  |UNCHANGED>] --of <SPD|UPD|ASCII|LAS> --if <SPD
>>                  |ASCIIPULSEROW|ASCII|FWF_DAT|DECOMPOSED_DAT|LAS
>>                  |DECOMPOSED_COO|ASCIIMULTILINE> [--] [--version] [-h]
>>
>> For complete USAGE and HELP type:
>>    spdtranslate --help
>>
>> On Tue, Feb 3, 2015 at 5:00 AM, Pete Bunting <petebunt...@mac.com> wrote:
>>
>>> Hi Zhan,
>>>
>>> Yes, sorry the website is not very up to date. There is more up to date
>>> documentation on the sourceforge download site:
>>> http://sourceforge.net/projects/spdlib/files/Tutorials/
>>>
>>> Regarding the projection issue you want to use polar. The definition is
>>> within the paper attached, see figure 8.
>>>
>>> Cheers, Pete
>>>
>>>
>>>
>>>
>>> On 2 Feb 2015, at 19:49, Zhan Li <zhanli1...@gmail.com> wrote:
>>>
>>> Hi Dan,
>>>
>>> Thanks for the help. I was checking out the wiki page and it still lists
>>> spd2spd. But I just checked spdtranslate, there is no option for
>>> hemispherical projection. There are "polar", "spherical", and "scan". What
>>> is the definition of polar system here? Does it mean hemispherical
>>> projection? I need to feed an ASCII file of x, y, z and intensity to
>>> spdtranslate.
>>>
>>> Thanks,
>>>
>>> Zhan.
>>>
>>> On Mon, Feb 2, 2015 at 2:37 PM, Daniel Clewley <daniel.clew...@gmail.com
>>> > wrote:
>>>
>>>> Hi Zhan,
>>>>
>>>> In the latest version of SPDLib spd2spd has been replaced with
>>>> spdtranslate, you can use this to project data to a hemispherical system
>>>> using the same flags.
>>>>
>>>> Thanks,
>>>>
>>>> Dan
>>>>
>>>> > On 2 Feb 2015, at 19:28, Zhan Li <zhanli1...@gmail.com> wrote:
>>>> >
>>>> > Hi I installed spdlib with a "version" label 20130504. I didn't see
>>>> the spd2spd command that can project TLS data to a hemispherical
>>>> projection. Is this version not complete or the projection function is
>>>> moved to another command? Has anyone had the same issue and known how to
>>>> get the spd2spd back?
>>>> >
>>>> > Thanks,
>>>> >
>>>> > Zhan.
>>>> >
>>>> > --
>>>> > Zhan Li, 李展;
>>>> > Earth & Environment, Boston University, USA;
>>>> >
>>>> > 2008 - 2011, in Chinese Academy of Sciences, China;
>>>> > 2004 - 2008, in Nanjing University, China;
>>>> >
>>>> ------------------------------------------------------------------------------
>>>> > Dive into the World of Parallel Programming. The Go Parallel Website,
>>>> > sponsored by Intel and developed in partnership with Slashdot Media,
>>>> is your
>>>> > hub for all things parallel software development, from weekly thought
>>>> > leadership blogs to news, videos, case studies, tutorials and more.
>>>> Take a
>>>> > look and join the conversation now.
>>>> http://goparallel.sourceforge.net/_______________________________________________
>>>> > spdlib-develop mailing list
>>>> > spdlib-develop@lists.sourceforge.net
>>>> > https://lists.sourceforge.net/lists/listinfo/spdlib-develop
>>>>
>>>>
>>>
>>>
>>> --
>>> Zhan Li, 李展;
>>> Earth & Environment, Boston University, USA;
>>>
>>> 2008 - 2011, in Chinese Academy of Sciences, China;
>>> 2004 - 2008, in Nanjing University, China;
>>>
>>> ------------------------------------------------------------------------------
>>> Dive into the World of Parallel Programming. The Go Parallel Website,
>>> sponsored by Intel and developed in partnership with Slashdot Media, is
>>> your
>>> hub for all things parallel software development, from weekly thought
>>> leadership blogs to news, videos, case studies, tutorials and more. Take
>>> a
>>> look and join the conversation now.
>>> http://goparallel.sourceforge.net/_______________________________________________
>>> spdlib-develop mailing list
>>> spdlib-develop@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/spdlib-develop
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Zhan Li, 李展;
>> Earth & Environment, Boston University, USA;
>>
>> 2008 - 2011, in Chinese Academy of Sciences, China;
>> 2004 - 2008, in Nanjing University, China;
>>
>>
>>
>>
>
> --
> Zhan Li, 李展;
> Earth & Environment, Boston University, USA;
>
> 2008 - 2011, in Chinese Academy of Sciences, China;
> 2004 - 2008, in Nanjing University, China;
>
>
>


-- 
Zhan Li, 李展;
Earth & Environment, Boston University, USA;

2008 - 2011, in Chinese Academy of Sciences, China;
2004 - 2008, in Nanjing University, China;
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
spdlib-develop mailing list
spdlib-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spdlib-develop

Reply via email to