Page 1 of 1
l3bin failed with exit code
Posted: Wed Feb 13, 2019 12:40 pm America/New_York
by bbroman93
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
l3bin failed with exit code
Posted: Wed Feb 13, 2019 2:42 pm America/New_York
by OB SeaDAS - knowles
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
l3bin failed with exit code
Posted: Fri Feb 15, 2019 11:27 pm America/New_York
by bbroman93
/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 1attachment 2attachment 3
l3bin failed with exit code
Posted: Sat Feb 16, 2019 7:31 am America/New_York
by gnwiii
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.
l3bin failed with exit code
Posted: Mon Feb 18, 2019 10:09 am America/New_York
by OB SeaDAS - knowles
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
l3bin failed with exit code
Posted: Tue Feb 19, 2019 2:13 am America/New_York
by bbroman93
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).
l3bin failed with exit code
Posted: Tue Feb 19, 2019 6:56 am America/New_York
by gnwiii
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.
l3bin failed with exit code
Posted: Tue Feb 19, 2019 9:31 am America/New_York
by OB SeaDAS - knowles
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
l3bin failed with exit code
Posted: Thu Feb 21, 2019 10:05 pm America/New_York
by bbroman93
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: