Open kongdd opened 1 week ago
According to the comments of Alexander-Barth, (the developer of NCDatasets.jl). The netcdf that xee exported has the following format errors:
double lon(lon) ;
lon:_FillValue = NaN ;
double lat(lat) ;
lat:_FillValue = NaN ;
netcdf xee-test {
dimensions:
time = 10 ;
lon = 78 ;
lat = 48 ;
variables:
float surface_net_solar_radiation(time, lon, lat) ;
surface_net_solar_radiation:_FillValue = NaNf ;
surface_net_solar_radiation:id = "surface_net_solar_radiation" ;
surface_net_solar_radiation:data_type = "{\'type\': \'PixelType\', \'precision\': \'double\'}" ;
surface_net_solar_radiation:dimensions = 3601LL, 1801LL ;
surface_net_solar_radiation:crs = "EPSG:4326" ;
surface_net_solar_radiation:crs_transform = 0.1, 0., -180.05, 0., -0.1, 90.05 ;
surface_net_solar_radiation:scale_factor = 0.1 ;
surface_net_solar_radiation:bounds = 108.5, 28.75, 116.25, 33.5603826424351 ;
[...]
see details at https://github.com/Alexander-Barth/NCDatasets.jl/issues/265
I faced with a strange issue. It seems that lon and lat is confused (lon becomes lat, lat becomes lon).
Inspect in R: