We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7046b03 commit d41e772Copy full SHA for d41e772
scripts/BenthosInterp.jl
@@ -643,6 +643,22 @@ function read_results(resfile::String)
643
end
644
645
646
+"""
647
+ get_aphiaID(filename)
648
+
649
+Return the aphiaID of the species interpolated in the netCDF file
650
+```julia-repl
651
+julia> aphiaID = get_aphiaID("Bathyporeia_density.nc")
652
+julia> 101742
653
+```
654
655
+function get_aphiaID(filename::String)::Int32
656
+ NCDatasets.Dataset(filename) do ds
657
+ aphiaID = ds.attrib["Species_aphiaID"]
658
+ return aphiaID
659
+ end
660
+end
661
662
"""
663
merge_netcdf_file(filelist, mergedfile)
664
0 commit comments