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