[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-670924-105":59,"doc-detail-670924-en":130,"doc-similar-670924":143},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","cap-community-analysis-pipeline-tutorial","CAP - Community Analysis Pipeline - Tutorial","","Community Analysis Pipeline (CAP) is a Python toolkit that streamlines post-processing of MGCM output. It replaces custom scripting with command-line executables that handle file manipulation, derived-variable operations, vertical grid interpolation, and diagnostic plotting. CAP leverages Python scientific libraries, runs in a managed virtual environment for cross-platform reliability, and standardizes data handling using the netCDF4 format and an FV3-based output convention. It supports NASA Ames Legacy GCM and FV3 dynamical-core configurations, with an aim for multi-model compatibility.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/cap-community-analysis-pipeline-tutorial/670924/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/cap-community-analysis-pipeline-tutorial/670924.png","ImageObject",300,407,{"name":92,"@type":93},"supergirl","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-23","2026-11-01",true,{"@type":102,"interactionType":103,"userInteractionCount":24},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does CAP solve for MGCM users?","Question",{"text":112,"@type":113},"CAP simplifies MGCM post-processing by providing standardized executables for file manipulation, derived variables, grid interpolation, and diagnostic plotting, removing the need for users to write all post-processing scripts themselves.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What technologies and data standards does CAP rely on?",{"text":117,"@type":113},"CAP is written in Python, uses the netCDF4 data format, and adopts an output formatting convention inherited from the GFDL FV3 format for binning and time averaging during analysis.",{"name":119,"@type":110,"acceptedAnswer":120},"Which CAP executables are included and what does each one do?",{"text":121,"@type":113},"CAP includes five executables: MarsPull (access MGCM output), MarsFiles (reduce files), MarsVars (perform variable operations), MarsInterp (interpolate the vertical grid), and MarsPlot (visualize MGCM output).","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},670924,1793572722,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":24,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":14,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":24,"preview_page_count":4},962088121634,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","Introducing the Community Analysis Pipeline (CAP)  \nCAP is a toolkit designed to simplify the post-processing of MGCM output. CAP is written in Python and works with existing Python libraries, allowing any Python user to install and use CAP easily and free of charge . Without CAP, plotting MGCM output requires that a user provide their own scripts for post-processing, including code for interpolating the vertical grid, computing and adding derived variables to files, converting between file types, and creating diagnostic plots . In other words, a user would be responsible for the entire post-processing effort as illustrated in Figure 1.  \nSuch a process requires that users be familiar with Fortran files and be able to write (or provide) script(s) to perform file manipulations and create plots . CAP standardizes the post-processing effort by providing executables that can perform file manipulations and create diagnostic plots from the command line . This enables users of almost any skill level to postprocess and plot MGCM data (Figure 2) .  \nAs a foreword, we will list a few design characteristics of CAP:  \n CAP is written in Python, an open-source programming language with extensive scientific libraries available  \n CAP is installed within a Python virtual environment, which provides cross-platform support (MacOS, Linux and Windows), robust version control (packages updated within the main Python distribution will not affect CAP), and isnot intrusive as it disappears when deactivated  \n CAP is composed of a set of libraries (functions), callable from a user's own scripts and a collection of five executables, which allows for efficient processing of model outputs from the command-line .  \n CAP uses the netCDF4 data format, which is widely use in the climate modeling community and self-descriptive (meaning that a file contains explicit information about its content in term of variables names, units etc...)  \n CAP uses a convention for output formatting inherited from the GFDL Finite-Volume Cubed-Sphere Dynamical Core, referred here as \"FV3 format\": outputs may be binned and averaged in time in various ways for analysis .  \n CAP long-term goal is to offer multi-model support. At the time of the writing, both the NASA Ames Legacy GCM and the NASA Ames GCM with the FV3 dynamical core are supported. Efforts are underway to offer compatibility to others Global Climate Models (e.g. eMARS, LMD, MarsWRF) .  \nSpecifically, CAP consists of five executables:  \n[1. ](1.  MarsPull.py)[ MarsPull.py](1.  MarsPull.py) Access MGCM output  \n[2. ](2.  MarsFiles.py)[ MarsFiles.py](2.  MarsFiles.py)  Reduce the files  \n[3. ](3.  MarsVars.py)[ MarsVars.py](3.  MarsVars.py)  Perform variable operations  \n[4. ](4.  MarsInterp.py)[ MarsInterp.py](4.  MarsInterp.py)  Interpolate the vertical grid  \n[5. ](5.  MarsPlot.py)[ MarsPlot.py](5.  MarsPlot.py) Visualize the MGCM output  \nThese executables and their commonly-used functions are illustrated in the cheat sheet below in the order in which they are most often used. You should feel free to reference during and after the tutorial.  \nCheat sheet  \nCAP is designed to be modular. For example, a user could post-process and plot MGCM output exclusively with CAP or a user could employ their own post-processing routine and then use CAP to plot the data. Users are free to selectively integrate CAP into their own analysis routine to the extent they see fit.  \nThe big question... How do I do this? > Ask for help!  \nUse the--help  ( -h for short) option on any executable to display documentation and examples.  \n(amesGCM3)>$ [MarsPlot.py-h](MarsPlot.py-h)  \n> usage: [MarsPlot.py](MarsPlot.py) [-h] [-i INSPECT_FILE] [-d DATE [DATE ...]] [--template]  \n> [-do DO] [-sy] [-o {pdf,eps,png}] [-vert] [-dir DIRECTORY]  \n> [--debug]  \n> [custom_file]  \n[1.](1. MarsPull.py  -Downloading Raw MGCM Output)[ MarsPull.py ](1. MarsPull.py  -Downloading Raw MGCM Output)[ -Downloading Raw MGCM Output](1. MarsPull.py  -Downloading Raw","cbCaipmSmp9Q65Q0","https://ap.wps.com/l/cbCaipmSmp9Q65Q0","pdf",1678402,"English","# Community Analysis Pipeline (CAP)\n## Overview and design characteristics\n## CAP executables\n## Command-line help and usage\n## MarsPull\n## MarsFiles","[{\"question\":\"What problem does CAP solve for MGCM users?\",\"answer\":\"CAP simplifies MGCM post-processing by providing standardized executables for file manipulation, derived variables, grid interpolation, and diagnostic plotting, removing the need for users to write all post-processing scripts themselves.\"},{\"question\":\"What technologies and data standards does CAP rely on?\",\"answer\":\"CAP is written in Python, uses the netCDF4 data format, and adopts an output formatting convention inherited from the GFDL FV3 format for binning and time averaging during analysis.\"},{\"question\":\"Which CAP executables are included and what does each one do?\",\"answer\":\"CAP includes five executables: MarsPull (access MGCM output), MarsFiles (reduce files), MarsVars (perform variable operations), MarsInterp (interpolate the vertical grid), and MarsPlot (visualize MGCM output).\"}]","CAP - Community Analysis Pipeline - Tutorial | PDF",{"list":144,"token":66},[145,151,158,165,172,179,186,193,200,207],{"doc_id":146,"doc_title":147,"file_type":137,"home_preview_img_url":148,"slug":149,"view_count":34,"category_name":30,"create_tm":150},699571,"BashGuide - About This Guide - Understanding Bash","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010750079/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796113799&Signature=SKbo20pHSsBT2pMCSLTD4UOOvkI%3D","bashguide-about-this-guide-understanding-bash",1794479404,{"doc_id":152,"doc_title":153,"file_type":137,"home_preview_img_url":154,"slug":155,"view_count":156,"category_name":30,"create_tm":157},115355,"Claude AI Bible - The Complete Guide to Mastering Claude, Claude Code, Claude Cowork, MCP, AI Agents, Automation & Advanced Prompting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229831893665/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796113799&Signature=XxwdAfF8%2BFJcEobCmx2Da5Tko1o%3D","claude-ai-bible-the-complete-guide-to-mastering-claude-claude-code-claude-cowork-mcp-ai-agents-automation-advanced-prompting",914,1785472614,{"doc_id":159,"doc_title":160,"file_type":137,"home_preview_img_url":161,"slug":162,"view_count":163,"category_name":30,"create_tm":164},185,"XNX Universal Transmitter Installation Manual (Complete Guide) [Honeywell Official]","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693710157/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796113799&Signature=h5zDfuLZYIdT06MttmqtFTU1ulo%3D","xnx-universal-transmitter-installation-manual",856,1776135954,{"doc_id":166,"doc_title":167,"file_type":137,"home_preview_img_url":168,"slug":169,"view_count":170,"category_name":30,"create_tm":171},299143,"THE CANDLESTICK TRADING BIBLE - Trading Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229905832418/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796113799&Signature=V%2BLvHUdGH13VhXGXCvyS%2FHbfths%3D","the-candlestick-trading-bible-trading-guide",804,1789767270,{"doc_id":173,"doc_title":174,"file_type":137,"home_preview_img_url":175,"slug":176,"view_count":177,"category_name":30,"create_tm":178},176,"Free Fire Proxy Server","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693709822/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796113799&Signature=VykcP5%2FGj4ofNFE4MJReiuwObOU%3D","free-fire-proxy-server",565,1776135932,{"doc_id":180,"doc_title":181,"file_type":137,"home_preview_img_url":182,"slug":183,"view_count":184,"category_name":30,"create_tm":185},129220,"Operations and Supply Chain Management - Eleventh Edition - Dedicated to students and faculty","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840674154/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796113799&Signature=QaUDDOFsfE4uQHW%2BlNBdrps5MPM%3D","operations-and-supply-chain-management-eleventh-edition-dedicated-to-students-and-faculty",498,1786012506,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":191,"category_name":30,"create_tm":192},8566,"Trik Ngonten TikTok dari 0 Sampai FYP","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229696842324/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796113799&Signature=WPAQhmBvkmii2cn0XYoT7jzzJBA%3D","tiktok-content-tricks-from-0-to-fyp",492,1776338393,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":198,"category_name":30,"create_tm":199},387603,"Building Applications with AI Agents - Multiagent Systems - Designing and Implementing","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229916172328/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796113799&Signature=Uo4WjXGyKxxev5uCie%2BX0JP0bbQ%3D","building-applications-with-ai-agents-multiagent-systems-designing-and-implementing",454,1790287169,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":205,"category_name":30,"create_tm":206},14249,"EW 101: A First Course in Electronic Warfare","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229699258216/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796113799&Signature=%2BWakgbE6DYGbbRBwRAcJVtJ%2BKWY%3D","ew-101-a-first-course-in-electronic-warfare",438,1776558348,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":212,"category_name":30,"create_tm":213},238737,"Spectrum Channel List 2026","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229894154298/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796113799&Signature=O4BeLTm0U0iLoc2YT2Ls9BqX1g8%3D","spectrum-channel-list-2026",436,1789139284]