> ## Documentation Index
> Fetch the complete documentation index at: https://www.siya.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SIRE CDI Inspection

<Frame>
  <img src="https://mintcdn.com/siya-6e67d02e/_4Aly_GdIn4oDjms/assets/sire_cdi_overview.png?fit=max&auto=format&n=_4Aly_GdIn4oDjms&q=85&s=6c73676e5caf90987c96f0abb4040535" width="1330" height="924" data-path="assets/sire_cdi_overview.png" />
</Frame>

*SIRE CDI System Overview - Complete workflow from CDI API Data and OCIMF Web Scraping through Backend Storage, Siya Analytics to Output delivery*

## What is SIRE and CDI?

**SIRE (Ship Inspection Report Programme)** <img src="https://mintcdn.com/siya-6e67d02e/_4Aly_GdIn4oDjms/assets/ocimf-logo.jpg?fit=max&auto=format&n=_4Aly_GdIn4oDjms&q=85&s=3cecafd68adcb5b86b01e17536e52590" alt="OCIMF Logo" style={{width: '60px', height: 'auto', display: 'inline-block', marginLeft: '10px', verticalAlign: 'middle'}} width="670" height="479" data-path="assets/ocimf-logo.jpg" />

SIRE is the world's leading vessel inspection database operated by OCIMF (Oil Companies International Marine Forum). SIRE provides comprehensive inspection reports for tankers, gas carriers, and offshore vessels, serving as the industry standard for vetting inspections. Major oil companies and charterers rely on SIRE data to assess vessel quality, safety standards, and operational capabilities before chartering decisions.

<img src="https://mintcdn.com/siya-6e67d02e/_4Aly_GdIn4oDjms/assets/sire-vessel-interface.png?fit=max&auto=format&n=_4Aly_GdIn4oDjms&q=85&s=c39c91df35edb81619a89ec666d418f5" alt="SIRE Vessel Interface" width="2688" height="1324" data-path="assets/sire-vessel-interface.png" />

*SIRE Platform Interface - Vessel details showing inspection records, certificates, crew matrix, and PSC inspections with comprehensive tracking capabilities*

**CDI (Chemical Distribution Institute)** <img src="https://mintcdn.com/siya-6e67d02e/W6g_Ki8M7xLfD1eQ/assets/cdi-logo-new.png?fit=max&auto=format&n=W6g_Ki8M7xLfD1eQ&q=85&s=70d75b02b1d4fc0375fe300f7516643c" alt="CDI Logo" style={{width: '60px', height: 'auto', display: 'inline-block', marginLeft: '10px', verticalAlign: 'middle'}} width="854" height="556" data-path="assets/cdi-logo-new.png" />

CDI (Chemical Distribution Institute) maintains specialized inspection standards for chemical carriers, focusing on the unique safety requirements of chemical transportation with extended validity periods and specialized compliance frameworks.

<img src="https://mintcdn.com/siya-6e67d02e/W6g_Ki8M7xLfD1eQ/assets/cdi-interface.png?fit=max&auto=format&n=W6g_Ki8M7xLfD1eQ&q=85&s=e2dbc3cc33cebf2de672471dc544940c" alt="CDI Platform Interface" width="1300" height="998" data-path="assets/cdi-interface.png" />

*CDI Platform Interface - Ships and Reports database showing vessel inspection records with search filters, operator details, and inspection tracking capabilities*

## Platform Overview

Our platform **automatically aggregates, analyzes, and visualizes** vessel inspection data from OCIMF and CDI APIs, transforming complex regulatory data into actionable business intelligence for fleet operators, enabling optimized safety performance, regulatory compliance, and strategic decision-making.

<img src="https://mintcdn.com/siya-6e67d02e/_4Aly_GdIn4oDjms/assets/sire_cdi_streamlined_integration.png?fit=max&auto=format&n=_4Aly_GdIn4oDjms&q=85&s=b00bb0742bd4e8ba14840e0f72a88eb6" alt="SIRE CDI Streamlined Integration" width="3570" height="2670" data-path="assets/sire_cdi_streamlined_integration.png" />

*Figure: SIRE CDI Implementation Overview - Streamlined architecture showing authentication, processing, and output systems*

<details>
  <summary>Alternative Data Integration View</summary>

  <img src="https://mintcdn.com/siya-6e67d02e/_4Aly_GdIn4oDjms/assets/sire_cdi_data_integration_colorful.png?fit=max&auto=format&n=_4Aly_GdIn4oDjms&q=85&s=67f8c409b83bcaf3883337f4141a5c60" alt="SIRE CDI Data Integration" width="4722" height="2970" data-path="assets/sire_cdi_data_integration_colorful.png" />

  *Alternative Figure: SIRE CDI Data Integration Overview - High-level view of data sources, processing, and outputs*
</details>

## System Architecture

<img src="https://mintcdn.com/siya-6e67d02e/W6g_Ki8M7xLfD1eQ/assets/enhanced_sire_cdi_workflow.png?fit=max&auto=format&n=W6g_Ki8M7xLfD1eQ&q=85&s=fc6a9c2df66af77e8bfa95361f66ba8c" alt="Enhanced SIRE CDI Workflow" width="4770" height="1920" data-path="assets/enhanced_sire_cdi_workflow.png" />

*SIRE CDI Maritime Inspection Intelligence Platform - Enhanced workflow showing Data Sources (OCIMF & CDI), AI-Powered Processing Engine, and Business Intelligence Dashboard*

## Key Features

<div style={{display: 'grid', gridTemplateColumns: 'repeat(2, 1fr)', gap: '1.5rem', margin: '2rem 0'}}>
  <div style={{background: 'linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%)', padding: '1.5rem', borderRadius: '12px', boxShadow: '0 4px 12px rgba(0,0,0,0.1)'}}>
    <h3 style={{color: '#1565c0', marginBottom: '1rem', fontSize: '1.2rem'}}>🔄 Real-Time Data Sync</h3>
    <p style={{color: '#333', margin: '0', lineHeight: '1.6'}}>Continuous monitoring of OCIMF and CDI databases with intelligent API integration and automated error handling.</p>
  </div>

  <div style={{background: 'linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%)', padding: '1.5rem', borderRadius: '12px', boxShadow: '0 4px 12px rgba(0,0,0,0.1)'}}>
    <h3 style={{color: '#7b1fa2', marginBottom: '1rem', fontSize: '1.2rem'}}>📊 Interactive Analytics</h3>
    <p style={{color: '#333', margin: '0', lineHeight: '1.6'}}>Highcharts visualizations with drill-down capabilities - click chapters to view detailed VIQ references and observations.</p>
  </div>

  <div style={{background: 'linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%)', padding: '1.5rem', borderRadius: '12px', boxShadow: '0 4px 12px rgba(0,0,0,0.1)'}}>
    <h3 style={{color: '#2e7d32', marginBottom: '1rem', fontSize: '1.2rem'}}>🚢 Fleet Management</h3>
    <p style={{color: '#333', margin: '0', lineHeight: '1.6'}}>Comprehensive fleet-wide analysis with SIRE/CDI comparison tables and validity tracking across all vessels.</p>
  </div>

  <div style={{background: 'linear-gradient(135deg, #fff3e0 0%, #ffcc02 100%)', padding: '1.5rem', borderRadius: '12px', boxShadow: '0 4px 12px rgba(0,0,0,0.1)'}}>
    <h3 style={{color: '#ef6c00', marginBottom: '1rem', fontSize: '1.2rem'}}>✅ Compliance Tracking</h3>
    <p style={{color: '#333', margin: '0', lineHeight: '1.6'}}>Automated validity tracking - SIRE (180 days) and CDI (365 days) with proactive overdue notifications.</p>
  </div>
</div>

## Analysis Capabilities

<img src="https://mintcdn.com/siya-6e67d02e/_4Aly_GdIn4oDjms/assets/sire-historical-observations.png?fit=max&auto=format&n=_4Aly_GdIn4oDjms&q=85&s=6d2d51da633a1c0b8df44f301021b7e7" alt="Historical SIRE Observations" width="2764" height="1502" data-path="assets/sire-historical-observations.png" />

*Figure 5: Historical SIRE Observations Analysis - OCIMF website data showing observations across various chapters with drillable sub-chapters and detailed inspection records*

<img src="https://mintcdn.com/siya-6e67d02e/_4Aly_GdIn4oDjms/assets/sire-inspection-records.png?fit=max&auto=format&n=_4Aly_GdIn4oDjms&q=85&s=aa2c28ce2506f7229d00f47d1e22befc" alt="SIRE Inspection Records" width="1868" height="1712" data-path="assets/sire-inspection-records.png" />

*Figure 6: SIRE Inspection Records - Latest available data from OCIMF website showing inspection details, locations, and historical observations by category*

### Fleet SIRE Analysis

* Fleet-wide SIRE performance analytics
* Statistical summaries by inspection chapter
* Interactive drilldown charts with observation trends
* Comparative performance benchmarking

### Individual SIRE History

* Complete inspection timeline
* Multi-state processing (Published/Pending/Unprocessed)
* Validity period calculations with renewal alerts
* Direct links to official inspection reports

### Individual CDI Analysis

* CDI-specific observation tracking for chemical carriers
* 365-day validity period management
* Chapter-based performance analytics
* Specialized chemical handling compliance

### Fleet Comparison Dashboard

**Interactive Combined Fleet Analysis**

* Real-time interactive dashboard with filtering
* Toggle between SIRE and CDI inspection views
* Advanced filtering by compliance status (Overdue, Due Soon, Valid)
* Search functionality with live results
* Color-coded status indicators (Red: Overdue, Yellow: Due Soon, Green: Valid)
* Responsive design with list and detailed cards view
* Direct integration with S3-hosted dashboard components

### Vessel Type Classification

```mermaid theme={null}
graph TD
    A[Vessel Input] --> B{Vessel Type Analysis}
    
    B -->|Tanker Categories| C[SIRE Applicable]
    B -->|Chemical Carriers| D[SIRE + CDI Applicable]
    B -->|Other Vessel Types| E[Not Applicable]
    
    C --> F[Process SIRE Data Only]
    D --> G[Process Both Data Types]
    E --> H[Generate N/A Response]
    
    F --> I[SIRE Components]
    G --> J[Combined Components]
    H --> K[N/A Message]
    
    subgraph "SIRE Applicable Types"
        L[LNG CARRIERS<br/>LPG CARRIERS<br/>CRUDE OIL TANKERS<br/>PRODUCT TANKERS<br/>CHEMICAL CARRIERS<br/>GAS CARRIERS]
    end
    
    subgraph "CDI Applicable Types"  
        M[CHEMICAL CARRIERS<br/>CHEMICAL TANKERS<br/>CHEMICAL/PRODUCT TANKERS<br/>SPECIALIZED CHEMICAL VESSELS]
    end
    
    style B fill:#e1f5fe
    style C fill:#e8f5e8
    style D fill:#e8f5e8
    style E fill:#ffebee
```

## Compliance Calculations

### SIRE Validity Logic:

**Days Remaining** = (Last Inspection Date + 180 days) - Current Date

**Status** = $\begin{cases}
\text{Valid} & \text{if Days Remaining} > 30 \\
\text{Due Soon} & \text{if } 0 \leq \text{Days Remaining} \leq 30 \\
\text{Overdue} & \text{if Days Remaining} < 0 \\
\text{Not Available} & \text{if no inspection data}
\end{cases}$

**Where:**

* SIRE inspection validity period = 180 days from inspection date
* Valid: More than 30 days remaining before expiry
* Due Soon: Between 0-30 days remaining before expiry
* Overdue: Past the 180-day validity period

### CDI Validity Logic:

**Days Remaining** = (Last Inspection Date + 365 days) - Current Date

**Status** = $\begin{cases}
\text{Valid} & \text{if Days Remaining} > 60 \\
\text{Due Soon} & \text{if } 0 \leq \text{Days Remaining} \leq 60 \\
\text{Overdue} & \text{if Days Remaining} < 0 \\
\text{Not Available} & \text{if no inspection data}
\end{cases}$

**Where:**

**Where:**

* CDI inspection validity period = 365 days from inspection date
* Valid: More than 60 days remaining before expiry
* Due Soon: Between 0-60 days remaining before expiry
* Overdue: Past the 365-day validity period
