Hello!
Thank You for Your reply! Actually I still need to operate with N1 images and basically if I will cut the image smaller the source product will be in Dimap format.Also I would like to process this new ICOL corrected image with C2R processor but the test script with N1 images (not cutted) I wrote doesn't seem to work, giving me Error:null. Still at the end I will need the whole data in netCDF format in order to remap the images for another scripting. But I thought that if I will have the Level2 C2R processed image I should be able to save it or export the raster data as netCDF format. Also there probably a script that does this conversion as well.
To make it more clear what I would like to achive:
-I have MERIS L1b images in N1/Dimap format
-I have MERIS L1b images in N1/Dimap format
-I need to run the ICOL script on them
-the output file of ICOL is then Dimap again
-in turn the output should be the input for C2R script which gives L2 MERIS Dimap image as an output. At the moment this script is a test version for N1 format.
-Then this ouput of L2 image needs to be converted into netCDF format
Added attachments include: ICOL and C2R XML scripts. MERIS images from these pages: http://www.upload.ee/files/3693385/subset_0_of_MER_FRS_1PNPDK20110607_093341_000002143103_00180_48470_6575.dim.html and data file http://www.upload.ee/files/3693379/subset_0_of_MER_FRS_1PNPDK20110607_093341_000002143103_00180_48470_6575.data.tar.gz.html
The command I used (also a test version creating a N1 file): gpt.sh icol.xml -Pn1TargetFile=/users/pmlvis/pmlvis15/scratch-network/L1_subset_0_of_MER_FRS_1PNPDK20110607_093341_000002143103_00180_48470_6575.N1 -Sn1Product= users/pmlvis/pmlvis15/scratch-network/L1_subset_0_of_MER_FRS_1PNPDK20110607_093341_000002143103_00180_48470_6575.N1
The command contains N1 file altough it is the same subset image that is in the attachments, but I tried to run the script with one N1 image which wasn't cutted.
I really would appreciate if You could help me with the gpt and the scripts!
Regards,
Evelin