I am using seadas V7.4. I tried to reproject a l2 file generated by l2gen. When the output file format was set to hdf5, the processing failed. The error message is attached below:
A problem occurred during processing the target product processing.
Message: Not able to write product file: ....h5
But if the output file format was set to netcdf4-cf, everything is okay. My code was written to deal with hdf5 files.
I ran the reprojection from both the GUI and the command line (gpt.sh). The same error happened.
Any suggestion would be greatly appreciated.
- Subject Matter Expert
- Posts: 255
- Joined: Mon Apr 07, 2008 4:40 pm America/New_York
I'm gonna take a guess that you might be using a mission which has large files. Possibly your memory is set too low for one of these operations.
And change line:
.. to a higher memory value like: -Xmx2048M or -Xmx3060M ...
Thanks for your reply. The .xml file used for the reprojection is attached. I only ran it for one scene collected by MODIS/Aqua. The l2 file name is A2009190055500.L2_LAC. The area of interest was defined by 19-23.5 N and 111.5-117.5 E. BTW, the l2 file was generated with l2gen in a hdf4 format. Its size is 31M.
The following command was ran:
gpt.sh reproject.xml -SsourceFileName=A2009190055500.L2_LAC -t test -f hdf5
I increased the memory to 3096M. But the same error happened.