-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Bocheng,
Thanks for the file. It actually reads fine with my ncdump, see later...
My ncdump reports:
netcdf library version 4.1.1 of Jan 30 2014 05:31:22 $
Best regards,
Martin
$ ncdump ~/Downloads/
noaa_sample.nc -h
netcdf noaa_sample {
dimensions:
y0 = 7162 ;
x0 = 7200 ;
band0 = 1 ;
nv = 2 ;
variables:
short Image0(y0, x0, band0) ;
Image0:_FillValue = -32768s ;
Image0:add_offset = 241.809305441928 ;
Image0:grid_mapping = "grid_mapping_0" ;
Image0:long_name = "Band data" ;
Image0:resolution = 1090L ;
Image0:scale_factor = 0.00290400962614538 ;
Image0:units = "K" ;
string band0(band0) ;
band0:standard_name = "band_name" ;
int64 grid_mapping_0 ;
grid_mapping_0:false_easting = 0L ;
grid_mapping_0:false_northing = 0L ;
grid_mapping_0:grid_mapping_name = "stereographic" ;
grid_mapping_0:latitude_of_projection_origin = 25. ;
grid_mapping_0:longitude_of_projection_origin = 121.5 ;
grid_mapping_0:scale_factor_at_projection_origin = 1. ;
grid_mapping_0:units = "m" ;
double nominal_wavelength0(band0) ;
nominal_wavelength0:bounds = "wl_bnds0" ;
nominal_wavelength0:standard_name = "radiation_wavelength" ;
nominal_wavelength0:units = "um" ;
double time ;
time:long_name = "Nominal time of the image" ;
time:standard_name = "time" ;
time:units = "seconds since 1970-01-01 00:00:00" ;
double wl_bnds0(band0, nv) ;
double x0(x0) ;
x0:long_name = "x coordinate of projection" ;
x0:standard_name = "projection_x_coordinate" ;
x0:units = "rad" ;
double y0(y0) ;
y0:long_name = "y coordinate of projection" ;
y0:standard_name = "projection_y_coordinate" ;
y0:units = "rad" ;
// global attributes:
:Conventions = "CF-1.5" ;
:history = "2014-03-06T08:08:05.529115 - Saved as netcdf4/cf by
pytroll/mpop." ;
:instrument = "avhrr" ;
:orbit = "25836" ;
:platform = "noaa-19" ;
}
On 06/03/14 10:19, Martin Raspaud wrote:
> On 06/03/14 09:50, 張伯誠 wrote:
>>> Hello, Martin,
>
>>> I have updated my pyresample from verison 0.8.0 to 1.1.0, so I
>>> can use your new fix. Unfortunately, my ncdump cannot still
>>> read the nc files, however, h5dump can read the nc files.
>
>>> What is the reason? My settings have some mistakes?
>
> Hello Bocheng,
>
> Ok, can you send me your nc file ? I will try to use my version of
> ncdump on it, to see if it works better. If it works with h5dump,
> then I'm not sure there's anything wrong with the file...
>
> Best regards, Martin
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -
http://www.enigmail.net/
iQEcBAEBAgAGBQJTGEenAAoJEBdvyODiyJI4UqYH/3ywBheeruwk/hqYLhS/Err0
t7vA1Kuh8EWXFw2bTAJHFjDTbn05GDfoEVhIHXf1p9Y9c5gN6OXy85mX2yxdgOJ2
eQYv5ZVZo6U1QWReSkwfI96BLzD9PWIlHLWYEhj6UE797vOiexfQGfut09k9hrjP
g4QzaZFbrCpX4rjJ65ebmCxZ0AYFUxlPF7kX1JR8ZxPd+wwRItDCOAiGR2sXR/E9
YVIT9kYMvxLtgtmiYPCqJm4AluuTPhWfY5i579p60nrbUNsqzcBzLAtfPqNQBDR9
u8JCwDExWA3TpULw5UGghNTIMlsG8a9JnQHvhjpg6sM0gQylxaXbmL2s7QQFx4Q=
=HxOh
-----END PGP SIGNATURE-----