Closed lbesnard closed 1 year ago
I was hoping to find this information within the
anmn_metadata
schema, but it seems that not all files get their variable attributes harvested
Sorry @lbesnard , this was by design. Back when this harvester was first created (7 years ago!) I didn't think we would want to keep all variable attributes for all ANMN & DWM files in the database. In fact it only extracts the standard_name
and long_name
attributes, then clears the variable_attribute
table after each file is harvested.
@lbesnard and @mhidas if that is OK with you I will close this since I don't think we are going to embark on trying to change this harvester given the start of the implementation of a new infrastructure. In the future infrastructure, I think we agree we should systematically harvest all attributes from netDF files with a generic harvester for example. @lbesnard you can still obtain the list of URLs of all relevant ADCPs and then query them one by one via OPeNDAP.
The pause label shows that this is relevant for the new infrastructure.
:+1:
@lbesnard you can still obtain the list of URLs of all relevant ADCPs and then query them one by one via OPeNDAP.
Yeah that's probably the only solution. Use the anmn_velocity.anmn_velocity_timeseries_map
view. You might
I would just use ncdump -h
to look at the files via the /mnt/imos-data
mount on pipeline-prod
(instead of OPeNDAP). It'll take a while (there are 1186 files, unless you can narrow it down further based on the global attributes), but you only heed to do it once.
Following this issue https://github.com/aodn/PO-Backlog/issues/2665, I was trying to find all the ANMN files where the
HEIGHT_ABOVE_SENSOR
variable as anpositve
attribute equal todown
so we can ask the facility to reprocess them.I was hoping to find this information within the
anmn_metadata
schema, but it seems that not all files get their variable attributes harvested which is a shame:However global attributes are being ingested correctly
@mhidas FYI