[{"data":1,"prerenderedAt":508},["ShallowReactive",2],{"page-\u002Futils\u002Fapi\u002Ffunctions\u002FgetLatestResult":3,"navigation":121},{"collection":4,"page":5},"docs_en",{"id":6,"title":7,"body":8,"description":111,"extension":112,"meta":113,"navigation":115,"path":116,"rawbody":117,"seo":118,"stem":119,"__hash__":120},"docs_en\u002Futils\u002Fapi\u002Ffunctions\u002FgetLatestResult.md","getLatestResult",{"type":9,"value":10,"toc":101},"minimark",[11,47,64,69,72,77,79,84,88],[12,13,14],"blockquote",{},[15,16,17,20,21,25,26,28,29,32,33,36,37,32,40,43,44],"p",{},[18,19,7],"strong",{},"(",[22,23,24],"code",{},"well",", ",[22,27,22],{},"): { ",[22,30,31],{},"result",": ",[22,34,35],{},"WaterQualityResult","; ",[22,38,39],{},"sample",[22,41,42],{},"WaterSample","; } | ",[22,45,46],{},"undefined",[15,48,49,50,52,53,56,57,60,61,63],{},"Returns the most recent usable result of a parameter across the effective\n(non-retracted) samples, skipping field\u002Ftrip\u002Fequipment blanks. ",[22,51,22],{}," is a\n",[22,54,55],{},"parameterKey"," (the ",[22,58,59],{},"welldot"," code, so a CAS-coded result with a published\nequivalence matches too). Within one sample the first matching result in\nfile order is returned. ",[22,62,46],{}," when the parameter was never measured.",[65,66,68],"h2",{"id":67},"parameters","Parameters",[70,71,24],"h3",{"id":24},[15,73,74],{},[22,75,76],{},"Well",[70,78,22],{"id":22},[15,80,81],{},[22,82,83],{},"string",[65,85,87],{"id":86},"returns","Returns",[15,89,90,91,32,93,36,95,32,97,43,99],{},"{ ",[22,92,31],{},[22,94,35],{},[22,96,39],{},[22,98,42],{},[22,100,46],{},{"title":102,"searchDepth":103,"depth":103,"links":104},"",2,[105,110],{"id":67,"depth":103,"text":68,"children":106},[107,109],{"id":24,"depth":108,"text":24},3,{"id":22,"depth":108,"text":22},{"id":86,"depth":103,"text":87},"Returns the most recent usable result of a parameter across the effective (non-retracted) samples, skipping field\u002Ftrip\u002Fequipment blanks. code is a parameterKey (the welldot code, so a CAS-coded result with a published equivalence matches too). Within one sample the first matching result in file orde","md",{"generated":114},true,false,"\u002Futils\u002Fapi\u002Ffunctions\u002FgetLatestResult","---\npath: \"\u002Futils\u002Fapi\u002Ffunctions\u002FgetLatestResult\"\ntitle: getLatestResult\ndescription: \"Returns the most recent usable result of a parameter across the effective (non-retracted) samples, skipping field\u002Ftrip\u002Fequipment blanks. code is a parameterKey (the welldot code, so a CAS-coded result with a published equivalence matches too). Within one sample the first matching result in file orde\"\ngenerated: true\nnavigation: false\n---\n\n> **getLatestResult**(`well`, `code`): \\{ `result`: `WaterQualityResult`; `sample`: `WaterSample`; \\} \\| `undefined`\n\nReturns the most recent usable result of a parameter across the effective\n(non-retracted) samples, skipping field\u002Ftrip\u002Fequipment blanks. `code` is a\n`parameterKey` (the `welldot` code, so a CAS-coded result with a published\nequivalence matches too). Within one sample the first matching result in\nfile order is returned. `undefined` when the parameter was never measured.\n\n## Parameters\n\n### well\n\n`Well`\n\n### code\n\n`string`\n\n## Returns\n\n\\{ `result`: `WaterQualityResult`; `sample`: `WaterSample`; \\} \\| `undefined`\n",{"title":7,"description":111},"utils\u002Fapi\u002Ffunctions\u002FgetLatestResult","9c6Kg8utAIDCgwxrNfeoQL0UgMbFz4QS8f9nqzITvdQ",{"docs_en":122,"spec":439,"changelogs":489},[123,143,162,217,327,381],{"title":124,"path":125,"stem":126,"children":127},"Ai","\u002Fai","ai",[128,131,135,139],{"title":129,"path":125,"stem":130},"Introduction","ai\u002Findex",{"title":132,"path":133,"stem":134},"Converting reports with an assistant","\u002Fai\u002Fconversion-skill","ai\u002Fconversion-skill",{"title":136,"path":137,"stem":138},"llms.txt and Markdown pages","\u002Fai\u002Fllms","ai\u002Fllms",{"title":140,"path":141,"stem":142},"MCP server","\u002Fai\u002Fmcp","ai\u002Fmcp",{"title":144,"path":145,"stem":146,"children":147},"Contributing","\u002Fcontributing","contributing",[148,150,154,158],{"title":129,"path":145,"stem":149},"contributing\u002Findex",{"title":151,"path":152,"stem":153},"Writing docs","\u002Fcontributing\u002Fwriting-docs","contributing\u002F1.writing-docs",{"title":155,"path":156,"stem":157},"Update rules","\u002Fcontributing\u002Fupdate-rules","contributing\u002F2.update-rules",{"title":159,"path":160,"stem":161},"Content components","\u002Fcontributing\u002Fcomponents","contributing\u002Fcomponents",{"title":163,"path":164,"stem":165,"children":166},"Core","\u002Fcore","core",[167,169,182,211],{"title":129,"path":164,"stem":168},"core\u002Findex",{"title":170,"path":171,"stem":172,"children":173,"page":115},"Getting Started","\u002Fcore\u002Fgetting-started","core\u002F1.getting-started",[174,178],{"title":175,"path":176,"stem":177},"Installation","\u002Fcore\u002Fgetting-started\u002Finstallation","core\u002F1.getting-started\u002F1.installation",{"title":179,"path":180,"stem":181},"First use","\u002Fcore\u002Fgetting-started\u002Ffirst-use","core\u002F1.getting-started\u002F2.first-use",{"title":183,"path":184,"stem":185,"children":186,"page":115},"Guides","\u002Fcore\u002Fguides","core\u002F2.guides",[187,191,195,199,203,207],{"title":188,"path":189,"stem":190},"Parsing and validating","\u002Fcore\u002Fguides\u002Fparsing-and-validating","core\u002F2.guides\u002F1.parsing-and-validating",{"title":192,"path":193,"stem":194},"Serializing and sharing","\u002Fcore\u002Fguides\u002Fserializing-and-sharing","core\u002F2.guides\u002F2.serializing-and-sharing",{"title":196,"path":197,"stem":198},"Unit conversion","\u002Fcore\u002Fguides\u002Funit-conversion","core\u002F2.guides\u002F3.unit-conversion",{"title":200,"path":201,"stem":202},"Vocabularies and textures","\u002Fcore\u002Fguides\u002Fvocabularies-and-textures","core\u002F2.guides\u002F4.vocabularies-and-textures",{"title":204,"path":205,"stem":206},"Water quality vocabulary","\u002Fcore\u002Fguides\u002Fwater-quality-vocabulary","core\u002F2.guides\u002F5.water-quality-vocabulary",{"title":208,"path":209,"stem":210},"Versions and time zones","\u002Fcore\u002Fguides\u002Fversions-and-time-zones","core\u002F2.guides\u002F6.versions-and-time-zones",{"title":212,"path":213,"stem":214,"children":215},"API reference","\u002Fcore\u002Fapi","core\u002Fapi\u002Findex",[216],{"title":212,"path":213,"stem":214},{"title":218,"path":219,"stem":220,"children":221},"Format","\u002Fformat","format",[222,224,244,273,297,317,323],{"title":129,"path":219,"stem":223},"format\u002Findex",{"title":170,"path":225,"stem":226,"children":227,"page":115},"\u002Fformat\u002Fgetting-started","format\u002F1.getting-started",[228,232,236,240],{"title":229,"path":230,"stem":231},"What is .well?","\u002Fformat\u002Fgetting-started\u002Fwhat-is-well","format\u002F1.getting-started\u002F1.what-is-well",{"title":233,"path":234,"stem":235},"For geologists","\u002Fformat\u002Fgetting-started\u002Ffor-geologists","format\u002F1.getting-started\u002F2.for-geologists",{"title":237,"path":238,"stem":239},"For developers","\u002Fformat\u002Fgetting-started\u002Ffor-developers","format\u002F1.getting-started\u002F3.for-developers",{"title":241,"path":242,"stem":243},"Your first .well file","\u002Fformat\u002Fgetting-started\u002Ffirst-well-file","format\u002F1.getting-started\u002F4.first-well-file",{"title":245,"path":246,"stem":247,"children":248,"page":115},"Concepts","\u002Fformat\u002Fconcepts","format\u002F2.concepts",[249,253,257,261,265,269],{"title":250,"path":251,"stem":252},"Depths and intervals","\u002Fformat\u002Fconcepts\u002Fdepths-and-intervals","format\u002F2.concepts\u002F1.depths-and-intervals",{"title":254,"path":255,"stem":256},"Units and precision","\u002Fformat\u002Fconcepts\u002Funits-and-precision","format\u002F2.concepts\u002F2.units-and-precision",{"title":258,"path":259,"stem":260},"Vocabularies","\u002Fformat\u002Fconcepts\u002Fvocabularies","format\u002F2.concepts\u002F3.vocabularies",{"title":262,"path":263,"stem":264},"Profiles","\u002Fformat\u002Fconcepts\u002Fprofiles","format\u002F2.concepts\u002F4.profiles",{"title":266,"path":267,"stem":268},"Versions and deprecation","\u002Fformat\u002Fconcepts\u002Fversions-and-deprecation","format\u002F2.concepts\u002F5.versions-and-deprecation",{"title":270,"path":271,"stem":272},"Extensibility","\u002Fformat\u002Fconcepts\u002Fextensibility","format\u002F2.concepts\u002F6.extensibility",{"title":183,"path":274,"stem":275,"children":276,"page":115},"\u002Fformat\u002Fguides","format\u002F3.guides",[277,281,285,289,293],{"title":278,"path":279,"stem":280},"Writing a .well by hand","\u002Fformat\u002Fguides\u002Fwriting-by-hand","format\u002F3.guides\u002F1.writing-by-hand",{"title":282,"path":283,"stem":284},"Converting a report","\u002Fformat\u002Fguides\u002Fconverting-a-report","format\u002F3.guides\u002F2.converting-a-report",{"title":286,"path":287,"stem":288},"Validating","\u002Fformat\u002Fguides\u002Fvalidating","format\u002F3.guides\u002F3.validating",{"title":290,"path":291,"stem":292},"Extending for your own needs","\u002Fformat\u002Fguides\u002Fextending","format\u002F3.guides\u002F4.extending",{"title":294,"path":295,"stem":296},"Building an editor or database on .well","\u002Fformat\u002Fguides\u002Fbuilding-on-well","format\u002F3.guides\u002F5.building-on-well",{"title":298,"path":299,"stem":300,"children":301},"Overview","\u002Fformat\u002Freference","format\u002F4.reference\u002Findex",[302,303,307,311],{"title":298,"path":299,"stem":300},{"title":304,"path":305,"stem":306},"JSON Schema","\u002Fformat\u002Freference\u002Fjson-schema","format\u002F4.reference\u002F1.json-schema",{"title":308,"path":309,"stem":310},"Example wells","\u002Fformat\u002Freference\u002Fexamples","format\u002F4.reference\u002F2.examples",{"title":312,"path":313,"stem":314,"children":315},"Object reference","\u002Fformat\u002Freference\u002Fobjects","format\u002Freference\u002Fobjects\u002Findex",[316],{"title":312,"path":313,"stem":314},{"title":318,"path":319,"stem":320,"children":321},"About the spec","\u002Fformat\u002Fspec","format\u002F5.spec\u002Findex",[322],{"title":318,"path":319,"stem":320},{"title":324,"path":325,"stem":326},"Changelog","\u002Fformat\u002Fchangelog","format\u002F6.changelog",{"title":328,"path":329,"stem":330,"children":331},"Render","\u002Frender","render",[332,334,344,376],{"title":129,"path":329,"stem":333},"render\u002Findex",{"title":170,"path":335,"stem":336,"children":337,"page":115},"\u002Frender\u002Fgetting-started","render\u002F1.getting-started",[338,341],{"title":175,"path":339,"stem":340},"\u002Frender\u002Fgetting-started\u002Finstallation","render\u002F1.getting-started\u002F1.installation",{"title":179,"path":342,"stem":343},"\u002Frender\u002Fgetting-started\u002Ffirst-use","render\u002F1.getting-started\u002F2.first-use",{"title":183,"path":345,"stem":346,"children":347,"page":115},"\u002Frender\u002Fguides","render\u002F2.guides",[348,352,356,360,364,368,372],{"title":349,"path":350,"stem":351},"Panels and layout","\u002Frender\u002Fguides\u002Fpanels-and-layout","render\u002F2.guides\u002F1.panels-and-layout",{"title":353,"path":354,"stem":355},"Layers and labels","\u002Frender\u002Fguides\u002Flayers-and-labels","render\u002F2.guides\u002F2.layers-and-labels",{"title":357,"path":358,"stem":359},"Theming","\u002Frender\u002Fguides\u002Ftheming","render\u002F2.guides\u002F3.theming",{"title":361,"path":362,"stem":363},"Locale and units","\u002Frender\u002Fguides\u002Flocale-and-units","render\u002F2.guides\u002F4.locale-and-units",{"title":365,"path":366,"stem":367},"Legends","\u002Frender\u002Fguides\u002Flegends","render\u002F2.guides\u002F5.legends",{"title":369,"path":370,"stem":371},"Zoom, pan and highlights","\u002Frender\u002Fguides\u002Finteraction","render\u002F2.guides\u002F6.interaction",{"title":373,"path":374,"stem":375},"Using it in a framework","\u002Frender\u002Fguides\u002Fframeworks","render\u002F2.guides\u002F7.frameworks",{"title":212,"path":377,"stem":378,"children":379},"\u002Frender\u002Fapi","render\u002Fapi\u002Findex",[380],{"title":212,"path":377,"stem":378},{"title":382,"path":383,"stem":384,"children":385},"Utils","\u002Futils","utils",[386,388,398,434],{"title":129,"path":383,"stem":387},"utils\u002Findex",{"title":170,"path":389,"stem":390,"children":391,"page":115},"\u002Futils\u002Fgetting-started","utils\u002F1.getting-started",[392,395],{"title":175,"path":393,"stem":394},"\u002Futils\u002Fgetting-started\u002Finstallation","utils\u002F1.getting-started\u002F1.installation",{"title":179,"path":396,"stem":397},"\u002Futils\u002Fgetting-started\u002Ffirst-use","utils\u002F1.getting-started\u002F2.first-use",{"title":183,"path":399,"stem":400,"children":401,"page":115},"\u002Futils\u002Fguides","utils\u002F2.guides",[402,406,410,414,418,422,426,430],{"title":403,"path":404,"stem":405},"Geometry and volumes","\u002Futils\u002Fguides\u002Fgeometry-and-volumes","utils\u002F2.guides\u002F1.geometry-and-volumes",{"title":407,"path":408,"stem":409},"Water levels and pumping tests","\u002Futils\u002Fguides\u002Fpumping-tests","utils\u002F2.guides\u002F2.pumping-tests",{"title":411,"path":412,"stem":413},"Permits","\u002Futils\u002Fguides\u002Fpermits","utils\u002F2.guides\u002F3.permits",{"title":415,"path":416,"stem":417},"Operation and production","\u002Futils\u002Fguides\u002Foperation","utils\u002F2.guides\u002F4.operation",{"title":419,"path":420,"stem":421},"Water quality","\u002Futils\u002Fguides\u002Fwater-quality","utils\u002F2.guides\u002F5.water-quality",{"title":423,"path":424,"stem":425},"Logger import","\u002Futils\u002Fguides\u002Flogger-import","utils\u002F2.guides\u002F6.logger-import",{"title":427,"path":428,"stem":429},"SIAGAS import","\u002Futils\u002Fguides\u002Fsiagas-import","utils\u002F2.guides\u002F7.siagas-import",{"title":431,"path":432,"stem":433},"Formatting","\u002Futils\u002Fguides\u002Fformatting","utils\u002F2.guides\u002F8.formatting",{"title":212,"path":435,"stem":436,"children":437},"\u002Futils\u002Fapi","utils\u002Fapi\u002Findex",[438],{"title":212,"path":435,"stem":436},[440],{"title":218,"path":219,"stem":220,"children":441,"page":115},[442],{"title":443,"path":319,"stem":444,"children":445,"page":115},"Spec","format\u002Fspec",[446,455,464],{"title":447,"path":448,"stem":449,"children":450,"page":115},"Reference","\u002Fformat\u002Fspec\u002Freference","format\u002Fspec\u002Freference",[451],{"title":452,"path":453,"stem":454},"FGDC Texture Patterns Reference","\u002Fformat\u002Fspec\u002Freference\u002Ffgdc-textures","format\u002Fspec\u002Freference\u002Ffgdc-textures",{"title":456,"path":457,"stem":458,"children":459,"page":115},"V1","\u002Fformat\u002Fspec\u002Fv1","format\u002Fspec\u002Fv1",[460],{"title":461,"path":462,"stem":463},".well File Format Specification","\u002Fformat\u002Fspec\u002Fv1\u002Fwell-format","format\u002Fspec\u002Fv1\u002Fwell-format",{"title":465,"path":466,"stem":467,"children":468,"page":115},"V2","\u002Fformat\u002Fspec\u002Fv2","format\u002Fspec\u002Fv2",[469,473,477,481,485],{"title":470,"path":471,"stem":472},".well File Format Specification — Version 2.4: Format Reference","\u002Fformat\u002Fspec\u002Fv2\u002Fformat-reference","format\u002Fspec\u002Fv2\u002Fformat-reference",{"title":474,"path":475,"stem":476},".well File Format Specification — Version 2.4: Interoperability","\u002Fformat\u002Fspec\u002Fv2\u002Finteroperability","format\u002Fspec\u002Fv2\u002Finteroperability",{"title":478,"path":479,"stem":480},".well File Format Specification — Version 2.4: Object Schemas","\u002Fformat\u002Fspec\u002Fv2\u002Fobject-schemas","format\u002Fspec\u002Fv2\u002Fobject-schemas",{"title":482,"path":483,"stem":484},".well File Format Specification — Version 2.4: Overview","\u002Fformat\u002Fspec\u002Fv2\u002Foverview","format\u002Fspec\u002Fv2\u002Foverview",{"title":486,"path":487,"stem":488},".well File Format Specification — Version 2.4: Water Quality","\u002Fformat\u002Fspec\u002Fv2\u002Fwater-quality","format\u002Fspec\u002Fv2\u002Fwater-quality",[490,496,502],{"title":163,"path":164,"stem":165,"children":491,"page":115},[492],{"title":493,"path":494,"stem":495},"@welldot\u002Fcore","\u002Fcore\u002Fchangelog","core\u002FCHANGELOG",{"title":328,"path":329,"stem":330,"children":497,"page":115},[498],{"title":499,"path":500,"stem":501},"@welldot\u002Frender","\u002Frender\u002Fchangelog","render\u002FCHANGELOG",{"title":382,"path":383,"stem":384,"children":503,"page":115},[504],{"title":505,"path":506,"stem":507},"@welldot\u002Futils","\u002Futils\u002Fchangelog","utils\u002FCHANGELOG",1793050500479]