l2gen processing error - SDwritedata
-
- Posts: 7
- Joined: Mon Aug 10, 2020 4:05 pm America/New_York
l2gen processing error - SDwritedata
Hello,
I am running l2gen for AC of MERIS imagery, and it works correctly for most images, except (apparently) for the larger images. I get the following error:
-E- /home/dshea/focs/oel_hdf4/libhdf4utils/hdf_utils.c line 311: SDwritedata(262170,[0,0,0],NULL,[1,4481,1],0x0x4b4ed70) failed.
I ran the following command:
l2gen ifile=/home/matheus/Matheus/Archives/Doutorado/WQ_Mangueira/MERIS/EN1_MDSI_MER_FRS_1P_20040526T130147_20040526T131433_011701_0124_20180417T173234_0100/ENV_ME_1_FRG____20040526T130147_20040526T131433_________________0766_027_124______DSI_R_NT____.SEN3/xfdumanifest.xml ofile=/home/matheus/Matheus/Archives/Doutorado/WQ_Mangueira/MERIS_int/MERIS_SeaDAS_20040526 oformat=hdf4 par=xfdumanifest.xml.anc atmocor=on mode=0 aer_opt=-2 glint_opt=0 brdf_opt=3 rad_opt=1 l2prod=Rrs_413,Rrs_443,Rrs_490,Rrs_510,Rrs_560,Rrs_620,Rrs_665,Rrs_681,Rrs_709,Rrs_754,Rrs_762,Rrs_779,Rrs_865,Rrs_885,Rrs_900
I used the same command line for other images, and it worked fine. What could be failing in this case?
Thanks for any help,
Matheus
I am running l2gen for AC of MERIS imagery, and it works correctly for most images, except (apparently) for the larger images. I get the following error:
-E- /home/dshea/focs/oel_hdf4/libhdf4utils/hdf_utils.c line 311: SDwritedata(262170,[0,0,0],NULL,[1,4481,1],0x0x4b4ed70) failed.
I ran the following command:
l2gen ifile=/home/matheus/Matheus/Archives/Doutorado/WQ_Mangueira/MERIS/EN1_MDSI_MER_FRS_1P_20040526T130147_20040526T131433_011701_0124_20180417T173234_0100/ENV_ME_1_FRG____20040526T130147_20040526T131433_________________0766_027_124______DSI_R_NT____.SEN3/xfdumanifest.xml ofile=/home/matheus/Matheus/Archives/Doutorado/WQ_Mangueira/MERIS_int/MERIS_SeaDAS_20040526 oformat=hdf4 par=xfdumanifest.xml.anc atmocor=on mode=0 aer_opt=-2 glint_opt=0 brdf_opt=3 rad_opt=1 l2prod=Rrs_413,Rrs_443,Rrs_490,Rrs_510,Rrs_560,Rrs_620,Rrs_665,Rrs_681,Rrs_709,Rrs_754,Rrs_762,Rrs_779,Rrs_865,Rrs_885,Rrs_900
I used the same command line for other images, and it worked fine. What could be failing in this case?
Thanks for any help,
Matheus
- Attachments
-
- Screenshot from 2022-03-07 15-12-27.png (23.39 KiB) Not viewed yet
Filters:
-
- Subject Matter Expert
- Posts: 712
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 9 times
-
- Posts: 7
- Joined: Mon Aug 10, 2020 4:05 pm America/New_York
-
- Subject Matter Expert
- Posts: 271
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
Re: l2gen processing error - SDwritedata
The problem is that an HDF4 file can only store about 2G of data. With your requested products you can only output about 11000 lines before you exceed the HDF4 size limit. The input file has 17409 lines.
I would suggest outputting netCDF files or using sline/eline to process half of the file in 2 runs.
don
I would suggest outputting netCDF files or using sline/eline to process half of the file in 2 runs.
don
-
- Posts: 7
- Joined: Mon Aug 10, 2020 4:05 pm America/New_York