Skip to content

senorgesnow_file_format

Line Båserud edited this page Mar 30, 2023 · 4 revisions

NetCDF file format is used.

Example of ncdump of a file (swepr_2022.nc) follows:

netcdf swepr_2022 {
dimensions:
	y = 1550 ;
	x = 1195 ;
	time = UNLIMITED ; // (365 currently)
variables:
	double UTM_Zone_33 ;
		UTM_Zone_33:Name = "UTM_Zone_33" ;
		UTM_Zone_33:scale_factor_at_central_meridian = 0.9996 ;
		UTM_Zone_33:longitude_of_central_meridian = 15. ;
		UTM_Zone_33:latitude_of_projection_origin = 0. ;
		UTM_Zone_33:false_easting = 500000. ;
		UTM_Zone_33:false_northing = 0. ;
		UTM_Zone_33:grid_mapping_name = "transverse_mercator" ;
		UTM_Zone_33:utm_zone_number = 33 ;
		UTM_Zone_33:inverse_flattening = "298.257222101" ;
		UTM_Zone_33:semi_major_axis = 6378137. ;
		UTM_Zone_33:proj4 = "+proj=utm +zone=33 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0" ;
		UTM_Zone_33:_CoordinateTransformType = "Projection" ;
		UTM_Zone_33:_CoordinateAxisType = "GeoX GeoY" ;
	double lat(y, x) ;
		lat:Name = "lat" ;
		lat:units = "degree_north" ;
		lat:long_name = "latitude" ;
		lat:standard_name = "latitude" ;
	double lon(y, x) ;
		lon:Name = "lon" ;
		lon:units = "degree_east" ;
		lon:long_name = "longitude" ;
		lon:standard_name = "longitude" ;
	float snow_water_equivalent_percentage(time, y, x) ;
		snow_water_equivalent_percentage:Name = "snow_water_equivalent_percentage" ;
		snow_water_equivalent_percentage:coordinates = "lon lat" ;
		snow_water_equivalent_percentage:grid_mapping = "UTM_Zone_33" ;
		snow_water_equivalent_percentage:name = "swepr" ;
		snow_water_equivalent_percentage:units = "%" ;
		snow_water_equivalent_percentage:standard_name = "snow_water_equivalent_percentage" ;
		snow_water_equivalent_percentage:longname = "snow water equivalent compared to daily normal" ;
	double time(time) ;
		time:Name = "time" ;
		time:long_name = "time" ;
		time:standard_name = "time" ;
		time:calendar = "standard" ;
		time:units = "seconds since 1900-01-01 00:00:00 +00:00" ;
	double x(x) ;
		x:Name = "x" ;
		x:standard_name = "projection_x_coordinate" ;
		x:long_name = "projection_x_coordinate" ;
		x:axis = "X" ;
		x:units = "meters" ;
	double y(y) ;
		y:Name = "y" ;
		y:standard_name = "projection_y_coordinate" ;
		y:long_name = "projection_y_coordinate" ;
		y:axis = "Y" ;
		y:units = "meters" ;

// global attributes:
		:title = "Snow Water Equivalent compared to daily normal 1991-2020" ;
		:institution = "NVE" ;
		:source = "ConvertTo-Grid" ;
		:history = "Fri Mar 24 17:27:15 2023: ncks --fix_rec_dmn y -O /hdata/grid/tmp/external_transfer/nve2met_seNorge2018_batch/swepr_2022_tmp3.nc /hdata/grid/tmp/external_transfer/nve2met_seNorge2018_batch/swepr_2022.nc\nFri Mar 24 17:26:37 2023: ncks --fix_rec_dmn x -O /hdata/grid/tmp/external_transfer/nve2met_seNorge2018_batch/swepr_2022_tmp2.nc /hdata/grid/tmp/external_transfer/nve2met_seNorge2018_batch/swepr_2022_tmp3.nc\nInitial" ;
		:references = "http://www.nve.no/" ;
		:comment = "Snow Water Equivalent from SeNorge SnowModel v 2.0.1 forced by seNorge2018_v22.09 data. Daily swe value compared to daily normal 1991-2020. Units in percent. (Model evaluation see https://www.the-cryosphere.net/6/1323/2012/tc-6-1323-2012.pdf)" ;
		:Conventions = "CF-1.6" ;
		:NCO = "\"4.5.4\"" ;
}


Clone this wiki locally