Skip to content

Fixes UDF format bug and ncdump bug - #3412

Open
captainkirk99 wants to merge 9 commits into
Unidata:mainfrom
Intelligent-Data-Design-Inc:ejh_ncdump
Open

Fixes UDF format bug and ncdump bug#3412
captainkirk99 wants to merge 9 commits into
Unidata:mainfrom
Intelligent-Data-Design-Inc:ejh_ncdump

Conversation

@captainkirk99

Copy link
Copy Markdown
Contributor

Fixes #3411
Fixes #3410

Fixes are simple, testing is a pain but is done.

@captainkirk99
captainkirk99 requested a review from WardF as a code owner July 21, 2026 13:28
@captainkirk99

Copy link
Copy Markdown
Contributor Author

THis fix works. With it installed, I can ncdump a GeoTIFF file with -s:

$ ncdump -hs ABBA_2022_C61_HNL.tif 
TIFFReadDirectory: Warning, Unknown field with tag 42112 (0xa480) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.netcdf ABBA_2022_C61_HNL {
dimensions:
	x = 55877 ;
	y = 41013 ;
	bnds = 2 ;
variables:
	ubyte data(y, x) ;
		data :grid_mapping = "crs" ;
		data :coordinates = "x y" ;
		data:_Storage = "contiguous" ;
	int crs ;
		crs:grid_mapping_name = "sinusoidal" ;
		crs:semi_major_axis = 6371007.181 ;
		crs:_Storage = "contiguous" ;
	double x(x) ;
		x:standard_name = "projection_x_coordinate" ;
		x:long_name = "x coordinate of projection" ;
		x:units = "m" ;
		x:axis = "X" ;
		x:bounds = "x_bnds" ;
		x:_Storage = "contiguous" ;
	double y(y) ;
		y:standard_name = "projection_y_coordinate" ;
		y:long_name = "y coordinate of projection" ;
		y:units = "m" ;
		y:axis = "Y" ;
		y:bounds = "y_bnds" ;
		y:_Storage = "contiguous" ;
	double x_bnds(x, bnds) ;
		x_bnds:_Storage = "contiguous" ;
	double y_bnds(y, bnds) ;
		y_bnds:_Storage = "contiguous" ;

// global attributes:
		:_Format = "user-defined format" ;
}

@WardF WardF self-assigned this Aug 5, 2026
@WardF WardF added this to the v4.10.2 milestone Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants