l3bin failed with exit code
l3bin failed with exit code
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
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
Filters:
-
- Subject Matter Expert
- Posts: 306
- Joined: Mon Apr 07, 2008 4:40 pm America/New_York
- Been thanked: 3 times
l3bin failed with exit code
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
Danny
l3bin failed with exit code
/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.parattachment 1
attachment 2
attachment 3
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.parattachment 1
attachment 2
attachment 3
l3bin failed with exit code
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:
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.
$ 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.
-
- Subject Matter Expert
- Posts: 306
- Joined: Mon Apr 07, 2008 4:40 pm America/New_York
- Been thanked: 3 times
l3bin failed with exit code
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:
and similarly run:
To view the contents of these files or the .par file from the command line run:
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:
Note: everytime you run this from the GUI, SeaDAS will generate a new par file for that particular run.
Danny
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
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
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.-
- Subject Matter Expert
- Posts: 306
- Joined: Mon Apr 07, 2008 4:40 pm America/New_York
- Been thanked: 3 times
l3bin failed with exit code
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
Danny
l3bin failed with exit code
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:
Bianca :grin: