Skip to content

Commit

Permalink
Add swept area to NEUS metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
mpinsky committed Jan 11, 2017
1 parent 12297ba commit 1df891d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metaData/metaData_NEUS.xml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
</attribute>
<attribute>
<attributeName>BIOMASS</attributeName>
<attributeDefinition>the weight (mass) of all items in the net (may be extrapolated)</attributeDefinition>
<attributeDefinition>the weight (mass) of all items in the net, converted to kg/tow for the Albatross research vessel (one two is approximately 0.0384 km^2)</attributeDefinition>
<measurementScale>
<ratio>
<unit>
Expand Down

8 comments on commit 1df891d

@mpinsky
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rBatt Ryan, did I add this into the metadata correctly? I wanted to document the swept area for the NEUS biomass data.

@rBatt
Copy link
Collaborator

@rBatt rBatt commented on 1df891d Jan 23, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, the .xml files are generated from simpler R scripts; for example: https://github.com/mpinsky/OceanAdapt/blob/master/R/metadata/metaData.neus.R

The .xml files follow the Ecological Metadata Language (EML) format, and the scripts use the R package "EML".

I tried to use standardized definitions where applicable. The reason for this is to indicate to readers which columns might be comparable between data sets; if both column names and definitions are idiosyncratic, it can be difficult to follow. For this reason, I use the gen.cols&units.R script to provide template/ standardized units and definitions.

The item you've corrected is on the line with the text "BIOMASS" = gen.cols[["weight"]]; instead of subsetting gen.cols, a custom definition could be written. There might be a way to add a note or comment to a data field (in addition to a description and units), that way we could keep the standard descriptions and units (so it is easier to compare data sets). But it's been a while since I did this, so I don't know/ forget.

@mpinsky
Copy link
Collaborator Author

@mpinsky mpinsky commented on 1df891d Jan 24, 2017 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rBatt
Copy link
Collaborator

@rBatt rBatt commented on 1df891d Jan 24, 2017 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mpinsky
Copy link
Collaborator Author

@mpinsky mpinsky commented on 1df891d Jan 24, 2017 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rBatt
Copy link
Collaborator

@rBatt rBatt commented on 1df891d Jan 24, 2017 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mpinsky
Copy link
Collaborator Author

@mpinsky mpinsky commented on 1df891d Jan 24, 2017 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rBatt
Copy link
Collaborator

@rBatt rBatt commented on 1df891d Jan 24, 2017 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.