l3bin reduce_fac option failure

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
d.dessailly
Posts: 2
Joined: Wed Aug 07, 2019 8:51 am America/New_York
Answers: 0

l3bin reduce_fac option failure

by d.dessailly » Wed Aug 07, 2019 9:01 am America/New_York

Trying to resample Aqua L3 products to 9km I have the following error from l3bin :

$ l3bin in=A2019214.L3b_DAY_CHL.nc out=test.nc reduce_fac=2 noext=1 verbose=on
L3BIN 5.12 (Nov 30 2018 09:53:07)
Single HDF input
-E- /home/seadas/ocssw/oel_hdf4/libbin/bin_csub.c:71 - bin_init - num rows (2160) not equal to previous num rows (4320)


Is reduce_fac still maintained in this version of l3bin ?

David

Filters:

OB.DAACx - SeanBailey
Posts: 1519
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 9 times

l3bin reduce_fac option failure

by OB.DAACx - SeanBailey » Wed Aug 07, 2019 9:18 am America/New_York

David,

Yeah, seems that one is not happy :cry: 
The next update works:
$ l3bin in=A2019214.L3b_DAY_CHL.nc out=test.nc reduce_fac=2 noext=1 verbose=on
L3BIN 5.13 (Jul 22 2019 18:58:02)        
Single input file                                           
irow:     0 of     4320 Wed Aug  7 09:07:49 2019      
irow:   500 of     4320 Wed Aug  7 09:07:49 2019
irow:  1000 of     4320 Wed Aug  7 09:07:49 2019
irow:  1500 of     4320 Wed Aug  7 09:07:49 2019                       
irow:  2000 of     4320 Wed Aug  7 09:07:49 2019
irow:  2500 of     4320 Wed Aug  7 09:07:49 2019            
irow:  3000 of     4320 Wed Aug  7 09:07:50 2019     
irow:  3500 of     4320 Wed Aug  7 09:07:50 2019
irow:  4000 of     4320 Wed Aug  7 09:07:50 2019
Done   
                                        

and the previous version works:
$ l3bin in=A2019214.L3b_DAY_CHL.nc out=test.nc reduce_fac=2 noext=1 verbose=on
L3BIN 5.12 (May 31 2018 12:45:20)
Single HDF input
irow:     0 of     4320 Wed Aug  7 09:11:00 2019
irow:   500 of     4320 Wed Aug  7 09:11:00 2019
irow:  1000 of     4320 Wed Aug  7 09:11:00 2019
irow:  1500 of     4320 Wed Aug  7 09:11:00 2019
irow:  2000 of     4320 Wed Aug  7 09:11:00 2019
irow:  2500 of     4320 Wed Aug  7 09:11:01 2019
irow:  3000 of     4320 Wed Aug  7 09:11:01 2019
irow:  3500 of     4320 Wed Aug  7 09:11:01 2019
irow:  4000 of     4320 Wed Aug  7 09:11:01 2019
Done


So, until we get the next update out, you could revert the l3bin binary to the previous version using the following command:
(for Linux):
cd $OCSSW_BIN && git checkout 01ee66 l3bin
(for Mac):
cd $OCSSW_BIN && git checkout dfd49ef l3bin

Regards,
Sean

d.dessailly
Posts: 2
Joined: Wed Aug 07, 2019 8:51 am America/New_York
Answers: 0

l3bin reduce_fac option failure

by d.dessailly » Fri Aug 09, 2019 2:26 am America/New_York

OK thank you Sean.
David

Post Reply