Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
All the unique instances of various EML customUnits on arcticdata.io. Just latest versions of each dataset.
1/srad
1/(srad km)
arc_degree
cells
celsiusSquared
centimetersPerSecondSquared
countPerSecond
countsPerMinutePerCubicMeter
countsPerMinutePerKiloliter
countsPerSecond
cubicCentimeters
cubicCentimetersPerCubicCentimeter
cubicMetersPerCubicMeter
cubicMetersPerDay
dbar
dBZ
decibar
deciBar
Decibar
decibel
decibelMilliwatts
decibels
degree_Celsius
formazinTurbidityUnit
fractionalDay
fractionalYear
gramsOfCarbonPerSquareMeterPerHour
gramsPer0.04SquareMeter
gramsPerCubicMeter
gramsPerKilogram
gramsPerMeterSquared
gramsPerSquareMeterPerDay
gramsPerSquareMeterPerHour
gramsPerSquareMeterPerSecond
hectopascal
hPa
ITS-90
ka
kelvinMetersPerSecond
kilogramPerMeterCubed
kilogramsPerCubicMeter
kilogramsPerHectarePerDay
kilogramsPerKilogram
kilogramsPerSecondSquaredPerMeter
kilogramsPerSquareMeterPerHour
kilogramsPerSquareMeterPerSecond
kiloYear
level
literPerMilligramCarbonPerMeter
litersPerMilligramCarbonPerMeter
litersPerMilligramPerMeter
logLumensPerSquareMeter
megajoule
megawattPerSquareMeterSteradianPerCentimeter
meter -6
metersBelowSeaLevel
metersPerMicrosecond
metersPerYear
meterWaterEquivalent
microAtmosphere
microeinstein
microEinstein
microEinsteinPerSquaredMeterPerSecond
microeinsteinsPerSquareMeterPerSecond
microequivalent
microequivalentPerLiter
microEquivalents
microEquivalentsPerKilogram
microequivalentsPerLiter
microgramCarbonPerLiterPerDay
microgramPerLiter
microgramsPerGramPerDay
microgramsPerGramPerHour
microgramsPerGramPerMeterSquared
microgramsPerGramSoil
microgramsPerGramSoilPerDay
microgramsPerSquareCentimeter
microgramsPerSquareCentimeterPerDay
microJoule
micromolar
micromole
microMole
microMolePerSquaredMeterPerSecond
micromolePerSquareMeterPerSecond
micromolesPerCubicMeter
micromolesPerGram
micromolesPerKilogram
micromolesPerLiter
micromolesPerMeterSquaredPerSecond
micromolesPerMole
micromolesPerSquareMeter
micromolesPerSquareMeterPerSecond
microMolesPerSquareMeterPerSecond
micromolsO2PerMolPhotons
micromolsPerLiter
micromolsPerSquareMeterPerSecond
microsiemen
microsiemensPerCentimeter
microSiemensPerCentimeter
microwattNanometerPerSquareCentimeter
millibar/1000km
millibar/1000km^2
millibarSquared
milliequivalentsPerOneHundredGrams
milligramCarbonPerMicrogramChlorophyllAPerHourPerMicroEinsteinPerMeterPerSecond
milligramCPerMicrogramChlorophyllAPerHour
milligramPerLiter
milligramPerMeterCubed
milligramsCarbonPerMeterSquaredPerDay
milligramsPerCubicCentimeter
milligramsPerGram
milligramsPerGramPerHour
milligramsPerKilogram
milligramsPerMeterSquaredPerSecond
milligramsPerMilligram
milligramsPerSquareCentimeter
milligramsPerSquareMeterPerDay
milligramsPerSquareMeterPerHour
milligramsPerSquareMeterPerSecond
milligramsPerTime
milliliter
milliliterPerLiter
milliLiterPerLiter
millilitersPerLiter
millimeterOfMercury
millimetersMercury
millimetersPerDay
millimetersPerHour
millimeterSquaredPerCubicCentimeter
millimetersWaterEquivalent
millimetersWaterEquivalentPerDay
millimole
milliMolesPerCubicMeter
millimolesPerKilogram
millimolesPerLiter
millimolesPerMeterPerDay
millimolesPerMole
millimolesPerSecondPerMeterSquared
milliMolesPerSquareMeter
millimolesPerSquareMeterPerSecond
millionsOfSqKilometers
millisiemensPerCentimeter
milliSiemensPerCentimeter
molar
moleculesPerSquareCentimeter
moleculesPerStandardCubicCentimeters
moleculesSquaredPerCentimeterToTheFifthPower
molesPerSquareMeterPerSecond
# N/acre
nanogramPerLiter
nanogramsPerCubicMeter
nanogramsPerGram
nanogramsPerLiter
nanomolar
nanomole
nanomolesPerGramPerHour
nanomolesPerKilogram
nanomolesPerLiter
nephelometricTurbidityUnit
nominalMonth
nominalSecond
no units provided
numberPerLiter
numberPerMegawattPerSquareMeterSteradianPerCentimeter
numberPerMicrosecond
numberPerSquareMeter
onePerSecond
partsPerBillion
partsPerBillionByVolume
partsPerMil
partsPerMillion
partsPerThousand
partsPerTrillion
percent
perCentimeter
percentModernCarbon
percentPerDay
perDay
perKilometer
perMeg
perMeter
perMil
perMil(‰)
perMille
perNanometer
perNanoMeter
perSecond
perYear
pH
photosyntheticallyActiveRadiation
picomoleLeucinesPerLiterPerHour
picomolePerMole
picomolesPerLiter
possPowerUnit
POSSPowerUnit
ppb
ppm
ppt
practicalSalinityUnit
Practical Salinity Unit
practicalSalinityUnits
PSS
PSS-78
psu
PSUmetersPerSecond
quinineSulphateEquivalents
reciprocalMeter
reciprocalNanometer
reciprocleMeter
revolutionsPerMinute
siemensPerMeter
SiemensPerMeter
sigma_level
squareCentimeter
squareCentimetersPerGram
squaredMegawattsPerSquareMeterSteradianPerCentimeter
squareMillimetersPerYear
theta
uM
uM/CO2/m2/sec
Unit not found in metadata
unknownVoltage
uS/m
Vienna Standard Mean Ocean Water
voltsPerKelvin
wattPerMeterSquared
wattPerSquareMeter
WattPerSquareMeter
wattsPerMeter
wattsPerSquareMeter
wattsPerSquareMeters
μatm
library(xml2)
# "eml" folder has all the EML documents we want to extract customUnits from
eml_paths <- dir("eml", full.names = TRUE)
eml_customUnits <- lapply(eml_paths, function(path) {
doc <- read_xml(path)
doc_customUnits <- xml_find_all(doc, "//customUnit")
vapply(doc_customUnits, xml_text, "")
})
all_customUnits <- sort(unique(unlist(eml_customUnits)))
all_customUnits
writeLines(all_customUnits)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.