l3bindump with code ascii

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
nada31
Posts: 37
Joined: Tue Sep 26, 2017 9:30 am America/New_York
Answers: 0

l3bindump with code ascii

by nada31 » Sat Nov 25, 2017 1:16 pm America/New_York

hi ,i am using the seadas 7.4 software on a vmare ubuntu i download L2 data ..... OC.NC. I installed the OCSSW and did all the steps L2 to L2bin then L3bin and L3mapgen and last L3bindump it gives me error code 1
I want to have ASCII data . what to do in ifle ?

Tags:

gnwiii
Posts: 713
Joined: Fri Jan 29, 2021 5:51 pm America/New_York
Answers: 2
Has thanked: 1 time

l3bindump with code ascii

by gnwiii » Sat Nov 25, 2017 7:26 pm America/New_York

Are you doing this on the command line?   If so, can you show us an example?   Using the files from the SeaDAS Benchmark Package :

$ l3bindump ifile=A2006167181000.L3b_time.hdf l3bprod=chlor_a lat=35 lon=-70 radius=2
                                                                                        chlor_a         chlor_a
    bin centerlat  centerlon     north     south       west       east    n   N             sum     sum_squared          weight       mean      stdev
------- --------- ---------- --------- --------- ---------- ---------- ---- --- --------------- --------------- --------------- ---------- ----------
74757745  34.96875  -70.00423  34.97917  34.95833  -70.01694  -69.99152    2   1  1.34819672e-01  1.28594106e-02  1.41421354e+00    0.09533    0.00310
74771904  34.98958  -70.00636  35.00000  34.97916  -70.01907  -69.99364    2   1  1.30204469e-01  1.19879832e-02  1.41421354e+00    0.09207    0.00060
74786060  35.01042  -70.00071  35.02084  35.00000  -70.01343  -69.98799    3   1  1.59294292e-01  1.46501111e-02  1.73205078e+00    0.09197    0.00018
74800212  35.03125  -70.00283  35.04167  35.02083  -70.01555  -69.99011    3   1  1.58078626e-01  1.44290430e-02  1.73205078e+00    0.09127    0.00122
  The ASCII text goes to "stdout", which can be redirected to file.  Redirection is a basic feature of POSIX shell programs (the most widely used example is "bash").  If you aren't familiar with the POSIX shell, LinuxCommand.org is a good reference.  If English difficult for you, the Debian Reference Manual has a number of translations (and is available as a package on Debian based linux distros).

nada31
Posts: 37
Joined: Tue Sep 26, 2017 9:30 am America/New_York
Answers: 0

l3bindump with code ascii

by nada31 » Sun Dec 10, 2017 9:24 am America/New_York

hi think you for your reponse

sorry. i do not know the programming but i tried to download a L3 monster image of a given region to turn it into L3bin then L3mapgen then extract xml data from the L3bindump feature. but at the last step L3bindump it always gives me a code error 1

gnwiii
Posts: 713
Joined: Fri Jan 29, 2021 5:51 pm America/New_York
Answers: 2
Has thanked: 1 time

l3bindump with code ascii

by gnwiii » Sun Dec 10, 2017 7:15 pm America/New_York

You need to provide enough detail to allow others to reproduce your steps and, hopefully, get the error you found, see: How to report bugs effectively.   The OCSSW processing system is necessarily complex, which means first-time users very often run into difficulties. These difficulties are not caused by incorrect programs, but by misunderstanding of the capabilities and settings of the software.   Long-term users of the software can all recall early struggles, and will make an effort to help newcomers if given enough information about the problem.  

OOXXII SeaDAS Workshop shows the options for many of the OCSSW Processing programs, but doesn't describe a workflow.   To get ASCII data from a level-3 binned file, you don't need to run l3mapgen, just l3bindump.  I'm not sure what you mean by "L3 monster image", but can guess you meant a  level-3 mapped file that you can view in the GUI.  Binned files do not have a 2-D gridded structure, so must be mapped to a 2-D grid for display (in the future, this might be automated, but at present you have to run l3mapgen

You don't mention the product.  If you run l3bindump from the SeaDAS 7.4 GUI and leave the "product" field blank, you should see:

execution exception: java.io.IOException: l3bindump failed with exit code 1.
Check log for more details.
l3bindump: Error: Product Unspecified not found in file.
Product: Unspecified not found.

OB SeaDAS - dshea
Subject Matter Expert
Subject Matter Expert
Posts: 258
Joined: Thu Mar 05, 2009 10:25 am America/New_York
Answers: 0
Been thanked: 2 times

l3bindump with code ascii

by OB SeaDAS - dshea » Mon Dec 11, 2017 8:58 am America/New_York

also note that l3bindump does not have an XML output for the data.  The "dump_options_xmlfile" outputs an XML file describing the command line options.

don

Post Reply