You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get quantity and maybe analysistype from long_name (e.g. "temperature, average value"). Issue for m
maybe get analysistype from varname (e.g. "mesh2d_fourier001_mean") instead (standard_name is not always present), this prevents unclarities with underscores/spaces. However, is there always an underscore present there?
get tstart/tstop datestrings from numstart+numstop+reftime. However, numstart/numstop are defined twice and would have to be merged: starttime_fourier_analysis_in_minutes_since_reference_date and starttime_min_max_analysis_in_minutes_since_reference_date
rename variable to something like f"{quantity}_{analysistype}_{tstart}_{tstop}" names would then probably make most sense. However, some quantities have spaces/underscores in them, so it might be better to have shorter names like ux/uy/wl etc.
possible to include tidal constituent translations? Only numcycles/numstart/numstop is available there, so computed freq would have to be matched to closest value in some online list? (see below) This is source for errors, so warn user. Also, the columns knfac+v0 from the inputfile are not available in the output, also add warning.
would consist of:
quantity
and maybeanalysistype
fromlong_name
(e.g. "temperature, average value"). Issue for manalysistype
fromvarname
(e.g. "mesh2d_fourier001_mean") instead (standard_name
is not always present), this prevents unclarities with underscores/spaces. However, is there always an underscore present there?tstart
/tstop
datestrings from numstart+numstop+reftime. However, numstart/numstop are defined twice and would have to be merged:starttime_fourier_analysis_in_minutes_since_reference_date
andstarttime_min_max_analysis_in_minutes_since_reference_date
f"{quantity}_{analysistype}_{tstart}_{tstop}"
names would then probably make most sense. However, some quantities have spaces/underscores in them, so it might be better to have shorter names like ux/uy/wl etc.numcyc
attr: xarray.Dataset.filter_by_attrsGetting Foreman tidal frequencies:
Used example files:
p:\archivedprojects\11203379-005-mwra-updated-bem\03_model\02_final\A72_ntsu0_kzlb2\DFM_OUTPUT_MB_02_fou\MB_02_0000_fou.nc
p:\1230882-emodnet_hrsm\GTSMv3.0EMODnet\EMOD_MichaelTUM_yearcomponents\GTSMv4.1_yeartide_2014_2.20.06\output\gtsm_model_0000_fou.nc
The text was updated successfully, but these errors were encountered: