gpt.sh reprojection issue
gpt.sh reprojection issue
Hi,
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.
Type: OperatorException
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.
Jun
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.
Type: OperatorException
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.
Jun
Filters:
-
- Subject Matter Expert
- Posts: 306
- Joined: Mon Apr 07, 2008 4:40 pm America/New_York
- Been thanked: 3 times
gpt.sh reprojection issue
Please specify file name and the reprojection parameters you are using. Give us enough to know what mission you are using and replicate what you are doing.
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.
See file(s):
$SEADAS_HOME/bin/seadas.vmoptions
$SEADAS_HOME/bin/gpt.sh
And change line:
-Xmx1024M
.. to a higher memory value like: -Xmx2048M or -Xmx3060M ...
Danny
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.
See file(s):
$SEADAS_HOME/bin/seadas.vmoptions
$SEADAS_HOME/bin/gpt.sh
And change line:
-Xmx1024M
.. to a higher memory value like: -Xmx2048M or -Xmx3060M ...
Danny
gpt.sh reprojection issue
NetCDF4 uses the HDF5 library, so your NetCDF4-CF should "just work" with software written to handle HDF5. Some tools, however, may insist on particular file name conventions (e.g., ".h5"), or may not follow CF conventions for metadata.
gpt.sh reprojection issue
Hi Danny,
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.
Junattachment 1
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.
Junattachment 1