Reprojection of multiple of SST4 images
Posted: Sat Sep 28, 2024 3:40 pm America/New_York
I want to reproject multiple SST4 L2 image to projected SST4 L2 data with WGS84 mercator projection.
I have this .par file given below,
[main]
ifile=/Volumes/My_Passport/ifile_text/new2023L1Asst.txt
odir=/Volumes/My_Passport
use_ancillary=1
overwrite=1
resolution=1km
projection=Mercator
product=SST4
# ANCILLARY INPUTS Default = climatology (select 'Get Ancillary' to download ancillary files)
The error is
(base) Euricos-iMac:~ gulfcarbon$ /Users/gulfcarbon/SeaDAS/ocssw/bin/mapgen par=/Users/gulfcarbon/Downloads/MODIS_L1A/mlp_aqua_l2gen_rep.par
usage: mapgen [-h] [--parfile PARFILE] [--ifile IFILE] [--geofile GEOFILE]
[--ofile OFILE] [--logfile LOGFILE] [--use_rgb]
[--product PRODUCT | --product_rgb PRODUCT_RGB]
[--resolution RESOLUTION] [--oformat {netcdf4,png,ppm,tiff}]
[--use_transparency] [--north NORTH] [--south SOUTH]
[--east EAST] [--west WEST] [--projection PROJECTION]
[--central_meridian CENTRAL_MERIDIAN] [--palfile PALFILE]
[--fudge FUDGE] [--datamin DATAMIN] [--datamax DATAMAX]
[--scale_type {linear,log,arctan}] [--threshold THRESHOLD]
[--trimNSEW] [--write_projtext] [--keep-intermediates]
[--verbose]
mapgen: error: unrecognized arguments: par=/Users/gulfcarbon/Downloads/MODIS_L1A/mlp_aqua_l2gen_rep.par
the new2023L1Asst.txt consists file names with path.
Any help will be appreciated. Thank you.
I have this .par file given below,
[main]
ifile=/Volumes/My_Passport/ifile_text/new2023L1Asst.txt
odir=/Volumes/My_Passport
use_ancillary=1
overwrite=1
resolution=1km
projection=Mercator
product=SST4
# ANCILLARY INPUTS Default = climatology (select 'Get Ancillary' to download ancillary files)
The error is
(base) Euricos-iMac:~ gulfcarbon$ /Users/gulfcarbon/SeaDAS/ocssw/bin/mapgen par=/Users/gulfcarbon/Downloads/MODIS_L1A/mlp_aqua_l2gen_rep.par
usage: mapgen [-h] [--parfile PARFILE] [--ifile IFILE] [--geofile GEOFILE]
[--ofile OFILE] [--logfile LOGFILE] [--use_rgb]
[--product PRODUCT | --product_rgb PRODUCT_RGB]
[--resolution RESOLUTION] [--oformat {netcdf4,png,ppm,tiff}]
[--use_transparency] [--north NORTH] [--south SOUTH]
[--east EAST] [--west WEST] [--projection PROJECTION]
[--central_meridian CENTRAL_MERIDIAN] [--palfile PALFILE]
[--fudge FUDGE] [--datamin DATAMIN] [--datamax DATAMAX]
[--scale_type {linear,log,arctan}] [--threshold THRESHOLD]
[--trimNSEW] [--write_projtext] [--keep-intermediates]
[--verbose]
mapgen: error: unrecognized arguments: par=/Users/gulfcarbon/Downloads/MODIS_L1A/mlp_aqua_l2gen_rep.par
the new2023L1Asst.txt consists file names with path.
Any help will be appreciated. Thank you.