l3bin failed with exit code

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
bbroman93
Posts: 38
Joined: Fri Feb 01, 2019 11:04 am America/New_York
Answers: 0

l3bin failed with exit code

by bbroman93 » Wed Feb 13, 2019 12:40 pm America/New_York

I am trying to follow the Youtube video from Ocean Color released where Danny used Ocean color data and SeaDAS to calculate climatology anomalies. I am trying to follow the methods exactly but the l3bin execution does not appear to be working. No matter what I try, I keep getting either “l3bin failed with exit code 1” or “l3bin failed with exit code 223” and the files cannot be opened.

I am working with a Mac OS and as far as I know I have all of the requirements downloaded and running. I download the BIN files and I generate the text document like he does.

I’m trying to generate a few anomaly images in the North Atlantic/Caribbean region for various ocean color parameters such as aerosol distribution, sea surface temperature, wind currents, sea surface salinity, etc for a project at my University. I just know that as soon as I can get all of these little issues troubleshooted, I can replicate the methodology for my study region.

Thank you

Tags:

OB SeaDAS - knowles
Subject Matter Expert
Subject Matter Expert
Posts: 277
Joined: Mon Apr 07, 2008 4:40 pm America/New_York
Answers: 0

l3bin failed with exit code

by OB SeaDAS - knowles » Wed Feb 13, 2019 2:42 pm America/New_York

Please attach the text file you created which contains your input bin files.  My guess is that you may have a formatting issue in the text file. 

Danny

bbroman93
Posts: 38
Joined: Fri Feb 01, 2019 11:04 am America/New_York
Answers: 0

l3bin failed with exit code

by bbroman93 » Fri Feb 15, 2019 11:27 pm America/New_York

/Users/biancabroman/Documents/SeaDAS/SST_Anomalies_2011/2011_summer_months/2011summer.txt
A20111522011181.L3b_MO_NSST.nc
A20111822011212.L3b_MO_NSST.nc
A20112132011243.L3b_MO_NSST.nc

/Users/biancabroman/Documents/SeaDAS/SST_Anomalies_2011/Monthly_Climatology/climatology2011d.txt
A20021822018212.L3b_MC_NSST.nc
A20022132018243.L3b_MC_NSST.nc
A20031522018181.L3b_MC_NSST.nc

They are both text files that I made in TextEdit
Thank you!

PS when I run the l3bin function, the following document generates:
(although I cannot open it or see it in SeaDAS)

/Users/biancabroman/Documents/SeaDAS/SST_Anomalies_2011/Monthly_Climatology/l3bin-tmpParFile488586476400633331.par
attachment 1

attachment 2

attachment 3

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

l3bin failed with exit code

by gnwiii » Sat Feb 16, 2019 7:31 am America/New_York

l3bin, like the majority of scientific software, is a bit fussy about the format of text files.  Unfortunately, TextEdit is not well suited for creating the input files for l3bin and other ASCII data files.   In your case, the final line of the test file is missing the "newline" character.  This can be checked in Terminal:

$ echo X | cat 2011summer.txt -
A20111522011181.L3b_MO_NSST.nc
A20111822011212.L3b_MO_NSST.nc
A20112132011243.L3b_MO_NSST.ncX


In addition to the lack of control over the presence of newline characters, data files created using TextEdit sometimes end up with Unicode look-alike characters for quotes or dashes.  Suitable editors bundled with MacOS are emacs and vi.

OB SeaDAS - knowles
Subject Matter Expert
Subject Matter Expert
Posts: 277
Joined: Mon Apr 07, 2008 4:40 pm America/New_York
Answers: 0

l3bin failed with exit code

by OB SeaDAS - knowles » Mon Feb 18, 2019 10:09 am America/New_York

You can generate your input text files at the command line.  For instance cd to the directory which contains your files and run the following at the command line:

ls -1 A*.L3b_MO_NSST.nc > L3b_MO_NSST_files.txt

and similarly run:

ls -1 A*.L3b_MC_NSST.nc > L3b_MC_NSST_files.txt

To view the contents of these files or the .par file from the command line run:
cat L3b_MC_NSST_files.txt
cat l3bin-tmpParFile488586476400633331.par

etc.

The par file is not a file which you open in SeaDAS.  It is a file generated by SeaDAS as part of the GUI run operation.  It is retained on your system in case you want to go back and see what SeaDAS ran from the GUI.  To repeat the GUI run, if so desired, but from the command line, just run the following at the command line:

l3bin par=l3bin-tmpParFile488586476400633331.par

Note: everytime you run this from the GUI, SeaDAS will generate a new par file for that particular run.

Danny

bbroman93
Posts: 38
Joined: Fri Feb 01, 2019 11:04 am America/New_York
Answers: 0

l3bin failed with exit code

by bbroman93 » Tue Feb 19, 2019 2:13 am America/New_York

Even when I go to simply view the data, I get the following error: No appropriate reader found. Could I be missing something here? (None of my file names have spaces, either).

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

l3bin failed with exit code

by gnwiii » Tue Feb 19, 2019 6:56 am America/New_York

The data in bainned files are not stored as a 2-D array, so require mapping before they can be viewed.  Use l3binmap (or l3binmap64) to apply a suitable map projection.

OB SeaDAS - knowles
Subject Matter Expert
Subject Matter Expert
Posts: 277
Joined: Mon Apr 07, 2008 4:40 pm America/New_York
Answers: 0

l3bin failed with exit code

by OB SeaDAS - knowles » Tue Feb 19, 2019 9:31 am America/New_York

As noted these binned files cannot be opened for viewing within SeaDAS.  You mentioned initially that you were following along with the YouTube video.  The next step in that video was to use l3mapgen.

Danny

bbroman93
Posts: 38
Joined: Fri Feb 01, 2019 11:04 am America/New_York
Answers: 0

l3bin failed with exit code

by bbroman93 » Thu Feb 21, 2019 10:05 pm America/New_York

Alright, thank you soooo much! I have apparently managed to troubleshoot everything and am now chunking out climatology anomalies no problem. SeaDAS is amazing once you get the hang of it!
Bianca :grin:

Post Reply