[Thread Prev][Thread Next][Index]

irregular multi NetCDF file



hello,

I'm learning to use ferret, so excuse me if my question is trivial.

please,
is that possible to set up an irregular mc data set? 

I'm interested in this point because 
I'm trying to plot a 5 year (or more) temporal evolution.  Every
netcdf files I got contain 4 months with one output on 21th of each
month. so the time step is varying inside each Netcdf file.

At my level of understanding, it seems that the question is :
 is it possible to use S_REGVARFLAG and S_INDEX and how?

ps : I use the 4.4 Version
ps : in attachment : the header of one of the netcdf file with the
output time steps.

thanck you for reading and may be answering this mail

netcdf physicsfiltr.MM92.1 {
dimensions:
	lont = 184 ;
	latt = 65 ;
	deptht = 31 ;
	lonu = 184 ;
	latu = 65 ;
	lonv = 184 ;
	latv = 65 ;
	lonf = 184 ;
	latf = 65 ;
	depthw = 31 ;
	dat_len = 20 ;
	time = UNLIMITED ; // (4 currently)
variables:
	float lont(lont) ;
		lont:name = "lont" ;
		lont:long_name = "longitude" ;
		lont:generic_name = "lon" ;
		lont:units = "degree_east" ;
		lont:FORTRAN_format = "f10.4" ;
		lont:epic_code = 4050 ;
	float latt(latt) ;
		latt:name = "latt" ;
		latt:long_name = "latitude" ;
		latt:generic_name = "lat" ;
		latt:units = "degree_north" ;
		latt:FORTRAN_format = "f10.4" ;
		latt:epic_code = 4051 ;
	float deptht(deptht) ;
		deptht:name = "deptht" ;
		deptht:long_name = "depth of T-grid" ;
		deptht:generic_name = "depth" ;
		deptht:units = "m" ;
		deptht:FORTRAN_format = "f10.1" ;
		deptht:epic_code = 4052 ;
		deptht:positive = "down" ;
	float lonu(lonu) ;
		lonu:name = "lonu" ;
		lonu:long_name = "longitude" ;
		lonu:generic_name = "lon" ;
		lonu:units = "degree_east" ;
		lonu:FORTRAN_format = "f10.4" ;
		lonu:epic_code = 4053 ;
	float latu(latu) ;
		latu:name = "latu" ;
		latu:long_name = "latitude" ;
		latu:generic_name = "lat" ;
		latu:units = "degree_north" ;
		latu:FORTRAN_format = "f10.4" ;
		latu:epic_code = 4054 ;
	float lonv(lonv) ;
		lonv:name = "lonv" ;
		lonv:long_name = "longitude" ;
		lonv:generic_name = "lon" ;
		lonv:units = "degree_east" ;
		lonv:FORTRAN_format = "f10.4" ;
		lonv:epic_code = 4055 ;
	float latv(latv) ;
		latv:name = "latv" ;
		latv:long_name = "latitude" ;
		latv:generic_name = "lat" ;
		latv:units = "degree_north" ;
		latv:FORTRAN_format = "f10.4" ;
		latv:epic_code = 4056 ;
	float lonf(lonf) ;
		lonf:name = "lonf" ;
		lonf:long_name = "longitude" ;
		lonf:generic_name = "lon" ;
		lonf:units = "degree_east" ;
		lonf:FORTRAN_format = "f10.4" ;
		lonf:epic_code = 4057 ;
	float latf(latf) ;
		latf:name = "latf" ;
		latf:long_name = "latitude" ;
		latf:generic_name = "lat" ;
		latf:units = "degree_north" ;
		latf:FORTRAN_format = "f10.4" ;
		latf:epic_code = 4058 ;
	float depthw(depthw) ;
		depthw:name = "depthw" ;
		depthw:long_name = "depth of W-grid" ;
		depthw:generic_name = "depth" ;
		depthw:units = "m" ;
		depthw:FORTRAN_format = "f10.1" ;
		depthw:epic_code = 4059 ;
		depthw:positive = "down" ;
	float time(time) ;
		time:units = "seconds since 1979-05-16 00:00:00" ;
		time:time_origin = "16-MAY-1979:00:00:00" ;
		time:step_value = 3600.f ;
		time:first_step = 110713 ;
		time:final_step = 113616 ;
	char date(time, dat_len) ;
		date:FORTRAN_format = "A19" ;
		date:long_name = "calendar date" ;
		date:date_origin = "16-MAY-1979:00:00:00" ;
	float UN(time, deptht, latu, lonu) ;
		UN:name = "UN" ;
		UN:long_name = "zonal velocity" ;
		UN:generic_name = "u" ;
		UN:units = "m s-1" ;
		UN:FORTRAN_format = " " ;
		UN:epic_code = 3042 ;
		UN:lat_grid_name = "GPHIU" ;
		UN:lon_grid_name = "GLAMU" ;
		UN:depth_grid_name = "GDEPT" ;
		UN:mask = "UMASK" ;
		UN:mask_option = "auto" ;
		UN:comment = "filtred variables" ;
		UN:missing_value = 9.999999e+29f ;
	float VN(time, deptht, latv, lonv) ;
		VN:name = "VN" ;
		VN:long_name = "meridional velocity" ;
		VN:generic_name = "v" ;
		VN:units = "m s-1" ;
		VN:FORTRAN_format = " " ;
		VN:epic_code = 3043 ;
		VN:lat_grid_name = "GPHIV" ;
		VN:lon_grid_name = "GLAMV" ;
		VN:depth_grid_name = "GDEPT" ;
		VN:mask = "VMASK" ;
		VN:mask_option = "auto" ;
		VN:comment = "filtred variables" ;
		VN:missing_value = 9.999999e+29f ;
	float WN(time, depthw, latt, lont) ;
		WN:name = "WN" ;
		WN:long_name = "vertical velocity" ;
		WN:generic_name = "w" ;
		WN:units = "m s-1" ;
		WN:FORTRAN_format = " " ;
		WN:epic_code = 3044 ;
		WN:lat_grid_name = "GPHIT" ;
		WN:lon_grid_name = "GLAMT" ;
		WN:depth_grid_name = "GDEPW" ;
		WN:mask = "TMASK" ;
		WN:mask_option = "auto" ;
		WN:comment = "filtred variables" ;
		WN:missing_value = 9.999999e+29f ;
	float TN(time, deptht, latt, lont) ;
		TN:name = "TN" ;
		TN:long_name = "temperature" ;
		TN:generic_name = "temp" ;
		TN:units = "Celsius" ;
		TN:FORTRAN_format = " " ;
		TN:epic_code = 3045 ;
		TN:lat_grid_name = "GPHIT" ;
		TN:lon_grid_name = "GLAMT" ;
		TN:depth_grid_name = "GDEPT" ;
		TN:mask = "TMASK" ;
		TN:mask_option = "auto" ;
		TN:comment = "filtred variables" ;
		TN:missing_value = 9.999999e+29f ;
	float SN(time, deptht, latt, lont) ;
		SN:name = "SN" ;
		SN:long_name = "salinity" ;
		SN:generic_name = "sal" ;
		SN:units = "PSU" ;
		SN:FORTRAN_format = " " ;
		SN:epic_code = 3046 ;
		SN:lat_grid_name = "GPHIT" ;
		SN:lon_grid_name = "GLAMT" ;
		SN:depth_grid_name = "GDEPT" ;
		SN:mask = "TMASK" ;
		SN:mask_option = "auto" ;
		SN:comment = "filtred variables" ;
		SN:missing_value = 9.999999e+29f ;
	float ROTN(time, depthw, latf, lonf) ;
		ROTN:name = "ROTN" ;
		ROTN:long_name = "relative vorticity" ;
		ROTN:generic_name = "rotv" ;
		ROTN:units = "s-1" ;
		ROTN:FORTRAN_format = " " ;
		ROTN:epic_code = 6007 ;
		ROTN:lat_grid_name = "GPHIF" ;
		ROTN:lon_grid_name = "GLAMF" ;
		ROTN:depth_grid_name = "GDEP" ;
		ROTN:mask = "FMASK" ;
		ROTN:mask_option = "auto" ;
		ROTN:mask_level = 1 ;
		ROTN:missing_value = 9.999999e+29f ;
	float Q(time, latt, lont) ;
		Q:name = "Q" ;
		Q:long_name = "Surface total heat flux" ;
		Q:generic_name = "Q" ;
		Q:units = "W m-2" ;
		Q:FORTRAN_format = " " ;
		Q:epic_code = 4042 ;
		Q:lat_grid_name = "GPHIT" ;
		Q:lon_grid_name = "GLAMT" ;
		Q:mask = "TMASK" ;
		Q:mask_option = "auto" ;
		Q:mask_level = 1 ;
		Q:missing_value = 9.999999e+29f ;
	float E(time, latt, lont) ;
		E:name = "E" ;
		E:long_name = "Surface evaporation" ;
		E:generic_name = "E" ;
		E:units = "mm day-1" ;
		E:FORTRAN_format = " " ;
		E:epic_code = 4043 ;
		E:lat_grid_name = "GPHIT" ;
		E:lon_grid_name = "GLAMT" ;
		E:mask = "TMASK" ;
		E:mask_option = "auto" ;
		E:mask_level = 1 ;
		E:missing_value = 9.999999e+29f ;
	float QSR(time, latt, lont) ;
		QSR:name = "QSR" ;
		QSR:long_name = "Solar radiation" ;
		QSR:generic_name = "qsr" ;
		QSR:units = "W m-2" ;
		QSR:FORTRAN_format = " " ;
		QSR:epic_code = 4041 ;
		QSR:lat_grid_name = "GPHIT" ;
		QSR:lon_grid_name = "GLAMT" ;
		QSR:mask = "TMASK" ;
		QSR:mask_option = "auto" ;
		QSR:mask_level = 1 ;
		QSR:missing_value = 9.999999e+29f ;
	float TAUX(time, latu, lonu) ;
		TAUX:name = "TAUX" ;
		TAUX:long_name = "\"zonal\" wind stress component" ;
		TAUX:generic_name = "taux" ;
		TAUX:units = "Nm-2" ;
		TAUX:FORTRAN_format = " " ;
		TAUX:epic_code = 4044 ;
		TAUX:lat_grid_name = "GPHIU" ;
		TAUX:lon_grid_name = "GLAMU" ;
		TAUX:mask = "UMASK" ;
		TAUX:mask_option = "auto" ;
		TAUX:mask_level = 1 ;
		TAUX:missing_value = 9.999999e+29f ;
	float TAUY(time, latv, lonv) ;
		TAUY:name = "TAUY" ;
		TAUY:long_name = "\"meridian\" wind stress component" ;
		TAUY:generic_name = "tauy" ;
		TAUY:units = "Nm-2" ;
		TAUY:FORTRAN_format = " " ;
		TAUY:epic_code = 4045 ;
		TAUY:lat_grid_name = "GPHIV" ;
		TAUY:lon_grid_name = "GLAMV" ;
		TAUY:mask = "VMASK" ;
		TAUY:mask_option = "auto" ;
		TAUY:mask_level = 1 ;
		TAUY:missing_value = 9.999999e+29f ;
	float CURLT(time, latf, lonf) ;
		CURLT:name = "CURLT" ;
		CURLT:long_name = "wind stress curl" ;
		CURLT:generic_name = "curlt" ;
		CURLT:units = "Nm-1" ;
		CURLT:FORTRAN_format = " " ;
		CURLT:epic_code = 6020 ;
		CURLT:lat_grid_name = "GPHIF" ;
		CURLT:lon_grid_name = "GLAMF" ;
		CURLT:mask = "FMASK" ;
		CURLT:mask_option = "auto" ;
		CURLT:mask_level = 1 ;
		CURLT:missing_value = 9.999999e+29f ;
	float BSFN(time, latf, lonf) ;
		BSFN:name = "BSFN" ;
		BSFN:long_name = "Barotropic stream function" ;
		BSFN:generic_name = "bsfn" ;
		BSFN:units = "m3 s-1" ;
		BSFN:FORTRAN_format = " " ;
		BSFN:epic_code = 4040 ;
		BSFN:lat_grid_name = "GPHIF" ;
		BSFN:lon_grid_name = "GLAMF" ;
		BSFN:mask = "FMASK" ;
		BSFN:mask_option = "auto" ;
		BSFN:mask_level = 1 ;
		BSFN:missing_value = 9.999999e+29f ;

// global attributes:
		:CREATION_DATE = "1998-08-03 11:17:05" ;
		:Source = "SAFEGE CETIIS" ;
		:author = "F.Martel,P. Nicolas" ;
		:history = "created on :1998-08-03 11:17:05 by :F.Martel,P. Nicolas" ;
		:OPA_user = "rron028" ;
		:model_id = "QUA reference ecmwf" ;
		:model_type = "MEDQUART" ;
		:Conventions = "OPA_EPIC" ;
		:COORD_SYSTEM = "GEOGRAPHICAL" ;
		:DATA_TYPE = "GRID" ;
		:DATA_SUBTYPE = " " ;
		:cpp_keys = "unvailable" ;
		:default_fill_float = 9.96921e+36f ;
		:default_fill_int = -2147483647 ;
		:default_fill_char = 0 ;
		:default_miss_float = 9.999999e+29f ;
		:default_miss_int = -9999 ;
		:nb_days_per_year = 365.f ;
		:nb_month_per_year = 12.f ;
		:nb_hour_per_day = 24.f ;
		:nb_mins_per_hour = 60.f ;
		:nb_sec_per_min = 60.f ;
		:calendar_type = "with leap year" ;
		:request_id = "47319.c94" ;
		:nqs_job_name = "MEDQUART92.1" ;
		:remote_user = "rron028" ;
		:remote_host = "unknown" ;
data:

 time = 4.002912e+08, 4.029696e+08, 4.054752e+08, 4.081536e+08 ;
}

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement