Fail to run polar2grid on nc file

Fail to run polar2grid on nc file

Postby megasaputra2 » Fri Nov 20, 2020 2:55 am

Dear all,

I have installed CSPP (ACSPO V1.2 VIIRS, MODIS and AVHRR SST Retrieval Software For Linux). It produces nc file.
I have installed polar2grid and succeed when run polar2grid on test data.
Then I run polar2grid with nc file which generated from ACSPO.
It is failed. The result is :

[mega@localhost work]$ acspo gtiff --list-products -f '/home/mega/Documents/polar2grid_test/viirs/input/'
INFO : Initializing reader...
WARNING : No filenames found for reader: acspo
WARNING : Don't know how to open the following files: {'/home/mega/Documents/polar2grid_test/viirs/input/'}
ERROR : acspo frontend failed to load and sort data files (see log for details)

Any solution?

Mega Saputra
Posts: 7
Joined: Fri Nov 20, 2020 2:45 am

Re: Fail to run polar2grid on nc file

Postby kathys » Fri Nov 20, 2020 1:54 pm

Hello Mega Saputra,

The ACSPO software produces two different output NetCDF files.

One in a legacy format and one in in GHRSST Data Specification 2.0 (GDS2) format. The GDS2 format file is a GHRSST "Level 2 Pre-processed" (L2P) file. The legacy format is the same basic style and structure that ACSPO has been generating from its inception. The GDS2 format follows a set of conventions specified by the Group for High Resolution Sea Surface Temperature (GHRSST). Both formats are available for distribution from NOAA, however, the legacy format is an internal format, and not archived.

The Polar2Grid software supports the GDS2 formatted file, and not the legacy file. Here is an example of the GDS2 format filename:

Please try executing the Polar2Grid software using the GDS2 format file as input.

Good luck,

Posts: 357
Joined: Tue Jun 22, 2010 4:51 pm

Re: Fail to run polar2grid on nc file

Postby megasaputra2 » Wed Nov 25, 2020 9:11 pm

Hello Kathys,

Finally, I succeed running polar2grid in MX Linux 64 bit.

$ ./ acspo gtiff --grid-coverage 0 -f /home/mega/Documents/polar2grid_test/viirs/input/
INFO : Initializing reader...
INFO : Initializing remapping...
INFO : Initializing backend...
INFO : Initializing compositor objects...
INFO : Extracting swaths from data files available...
INFO : Writing longitude data to disk cache...
INFO : Writing latitude data to disk cache...
INFO : Writing band data to disk cache...
INFO : Remapping to grid wgs84_fit
INFO : Grid information:
grid_name: wgs84_fit
proj4_definition: +proj=latlong +datum=WGS84 +ellps=WGS84 +no_defs
cell_width: 0.0057
cell_height: -0.0057
width: 6078
height: 5802
origin_x: 85.9510269165039
origin_y: 13.269043922424316
INFO : Creating output from data mapped to grid wgs84_fit
INFO : Creating geotiff 'npp_viirs_sst_20201114_182430_wgs84_fit.tif'
INFO : Processing data for grid wgs84_fit complete

Thank you.

Posts: 7
Joined: Fri Nov 20, 2020 2:45 am

Return to Polar2grid

Who is online

Users browsing this forum: No registered users and 0 guests