Changeset 2021 for trunk/MESOSCALE/LMD_MM_MARS/SRC/PREP_MARS
- Timestamp:
- Oct 19, 2018, 6:16:41 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SRC/PREP_MARS/Venus/readmeteo.F90
r1756 r2021 252 252 allocate(aps(altlen),bps(altlen),levels(altlen)) 253 253 #ifdef PHOTOCHEM 254 nchemtrac = 14254 nchemtrac = 34 255 255 allocate(wtnom(nchemtrac)) 256 wtnom(1) = "c_co2" 257 wtnom(2) = "c_co" 258 wtnom(3) = "c_o" 259 wtnom(4) = "c_o1d" 260 wtnom(5) = "c_o2" 261 wtnom(6) = "c_o3" 262 wtnom(7) = "c_h" 263 wtnom(8) = "c_h2" 264 wtnom(9) = "c_oh" 265 wtnom(10) = "c_ho2" 266 wtnom(11) = "c_h2o2" 267 wtnom(12) = "c_ch4" 268 wtnom(13) = "c_n2" 269 wtnom(14) = "c_ar" 256 print*,'PHOTOCHEM2.1' 257 wtnom(1) = "co2" 258 wtnom(2) = "co" 259 wtnom(3) = "h2" 260 wtnom(4) = "h2o" 261 wtnom(5) = "o1d" 262 wtnom(6) = "o" 263 wtnom(7) = "o2" 264 wtnom(8) = "o2dg" 265 wtnom(9) = "o3" 266 wtnom(10) = "h" 267 wtnom(11) = "oh" 268 wtnom(12) = "ho2" 269 wtnom(13) = "h2o2" 270 wtnom(14) = "cl" 271 wtnom(15) = "clo" 272 wtnom(16) = "cl2" 273 wtnom(17) = "hcl" 274 wtnom(18) = "hocl" 275 wtnom(19) = "clco" 276 wtnom(20) = "clco3" 277 wtnom(21) = "cocl2" 278 wtnom(22) = "s" 279 wtnom(23) = "so" 280 wtnom(24) = "so2" 281 wtnom(25) = "so3" 282 wtnom(26) = "s2o2" 283 wtnom(27) = "ocs" 284 wtnom(28) = "hso3" 285 wtnom(29) = "h2so4" 286 wtnom(30) = "s2" 287 wtnom(31) = "clso2" 288 wtnom(32) = "oscl" 289 wtnom(33) = "h2oliq" 290 wtnom(34) = "h2so4liq" 270 291 allocate(chemtrac(lonlen,latlen,altlen,timelen,nchemtrac)) 271 292 chemtrac(:,:,:,:,:)=0 … … 772 793 vfile(j,i,:,:)=vfile(lonlen+1-j,latlen+1-i,:,:) 773 794 tsoilfile(j,i,:,:)=tsoilfile(lonlen+1-j,latlen+1-i,:,:) 795 #ifdef PHOTOCHEM 796 chemtrac(j,i,:,:,:)=chemtrac(lonlen+1-j,latlen+1-i,:,:,:) 797 #endif 774 798 ENDDO 775 799 ENDDO … … 1343 1367 !------------------------! 1344 1368 #ifdef PHOTOCHEM 1345 DO i=1,nchemtrac 1346 FIELD=wtnom(i) 1347 UNITS='units' 1348 DESC='desc' 1349 XLVL=200100. 1350 SLAB=chemtrac(:,:,1,time_out(l),i) 1351 ! And now put everything in the destination file 1352 ! ... Header 1353 write(1) IFV 1354 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1355 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1356 ! ... Data 1357 write(1) SLAB 1358 ENDDO 1369 FIELD='CO2' 1370 UNITS='kg/kg' 1371 DESC='CO2 mixing ratio' 1372 XLVL=levels(k) 1373 SLAB=chemtrac(:,:,1,time_out(l),1) 1374 ! And now put everything in the destination file 1375 ! ... Header 1376 write(1) IFV 1377 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1378 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1379 ! ... Data 1380 write(1) SLAB 1381 1382 1383 FIELD='CO' 1384 UNITS='kg/kg' 1385 DESC='CO mixing ratio' 1386 XLVL=levels(k) 1387 SLAB=chemtrac(:,:,1,time_out(l),2) 1388 ! And now put everything in the destination file 1389 ! ... Header 1390 write(1) IFV 1391 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1392 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1393 ! ... Data 1394 write(1) SLAB 1395 1396 1397 FIELD='H2' 1398 UNITS='kg/kg' 1399 DESC='H2 mixing ratio' 1400 XLVL=levels(k) 1401 SLAB=chemtrac(:,:,1,time_out(l),3) 1402 ! And now put everything in the destination file 1403 ! ... Header 1404 write(1) IFV 1405 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1406 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1407 ! ... Data 1408 write(1) SLAB 1409 1410 1411 FIELD='H2O' 1412 UNITS='kg/kg' 1413 DESC='H2O mixing ratio' 1414 XLVL=levels(k) 1415 SLAB=chemtrac(:,:,1,time_out(l),4) 1416 ! And now put everything in the destination file 1417 ! ... Header 1418 write(1) IFV 1419 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1420 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1421 ! ... Data 1422 write(1) SLAB 1423 1424 1425 FIELD='O1D' 1426 UNITS='kg/kg' 1427 DESC='O1D mixing ratio' 1428 XLVL=levels(k) 1429 SLAB=chemtrac(:,:,1,time_out(l),5) 1430 ! And now put everything in the destination file 1431 ! ... Header 1432 write(1) IFV 1433 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1434 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1435 ! ... Data 1436 write(1) SLAB 1437 1438 1439 FIELD='O' 1440 UNITS='kg/kg' 1441 DESC='O mixing ratio' 1442 XLVL=levels(k) 1443 SLAB=chemtrac(:,:,1,time_out(l),6) 1444 ! And now put everything in the destination file 1445 ! ... Header 1446 write(1) IFV 1447 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1448 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1449 ! ... Data 1450 write(1) SLAB 1451 1452 1453 FIELD='O2' 1454 UNITS='kg/kg' 1455 DESC='O2 mixing ratio' 1456 XLVL=levels(k) 1457 SLAB=chemtrac(:,:,1,time_out(l),7) 1458 ! And now put everything in the destination file 1459 ! ... Header 1460 write(1) IFV 1461 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1462 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1463 ! ... Data 1464 write(1) SLAB 1465 1466 1467 FIELD='O2DG' 1468 UNITS='kg/kg' 1469 DESC='O2DG mixing ratio' 1470 XLVL=levels(k) 1471 SLAB=chemtrac(:,:,1,time_out(l),8) 1472 ! And now put everything in the destination file 1473 ! ... Header 1474 write(1) IFV 1475 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1476 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1477 ! ... Data 1478 write(1) SLAB 1479 1480 1481 FIELD='O3' 1482 UNITS='kg/kg' 1483 DESC='O3 mixing ratio' 1484 XLVL=levels(k) 1485 SLAB=chemtrac(:,:,1,time_out(l),9) 1486 ! And now put everything in the destination file 1487 ! ... Header 1488 write(1) IFV 1489 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1490 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1491 ! ... Data 1492 write(1) SLAB 1493 1494 1495 FIELD='H' 1496 UNITS='kg/kg' 1497 DESC='H mixing ratio' 1498 XLVL=levels(k) 1499 SLAB=chemtrac(:,:,1,time_out(l),10) 1500 ! And now put everything in the destination file 1501 ! ... Header 1502 write(1) IFV 1503 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1504 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1505 ! ... Data 1506 write(1) SLAB 1507 1508 1509 FIELD='OH' 1510 UNITS='kg/kg' 1511 DESC='OH mixing ratio' 1512 XLVL=levels(k) 1513 SLAB=chemtrac(:,:,1,time_out(l),11) 1514 ! And now put everything in the destination file 1515 ! ... Header 1516 write(1) IFV 1517 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1518 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1519 ! ... Data 1520 write(1) SLAB 1521 1522 1523 FIELD='HO2' 1524 UNITS='kg/kg' 1525 DESC='hO2 mixing ratio' 1526 XLVL=levels(k) 1527 SLAB=chemtrac(:,:,1,time_out(l),12) 1528 ! And now put everything in the destination file 1529 ! ... Header 1530 write(1) IFV 1531 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1532 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1533 ! ... Data 1534 write(1) SLAB 1535 1536 1537 FIELD='H2O2' 1538 UNITS='kg/kg' 1539 DESC='H2O2 mixing ratio' 1540 XLVL=levels(k) 1541 SLAB=chemtrac(:,:,1,time_out(l),13) 1542 ! And now put everything in the destination file 1543 ! ... Header 1544 write(1) IFV 1545 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1546 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1547 ! ... Data 1548 write(1) SLAB 1549 1550 1551 FIELD='Cl' 1552 UNITS='kg/kg' 1553 DESC='Cl mixing ratio' 1554 XLVL=levels(k) 1555 SLAB=chemtrac(:,:,1,time_out(l),14) 1556 ! And now put everything in the destination file 1557 ! ... Header 1558 write(1) IFV 1559 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1560 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1561 ! ... Data 1562 write(1) SLAB 1563 1564 1565 FIELD='ClO' 1566 UNITS='kg/kg' 1567 DESC='ClO mixing ratio' 1568 XLVL=levels(k) 1569 SLAB=chemtrac(:,:,1,time_out(l),15) 1570 ! And now put everything in the destination file 1571 ! ... Header 1572 write(1) IFV 1573 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1574 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1575 ! ... Data 1576 write(1) SLAB 1577 1578 1579 FIELD='Cl2' 1580 UNITS='kg/kg' 1581 DESC='Cl2 mixing ratio' 1582 XLVL=levels(k) 1583 SLAB=chemtrac(:,:,1,time_out(l),16) 1584 ! And now put everything in the destination file 1585 ! ... Header 1586 write(1) IFV 1587 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1588 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1589 ! ... Data 1590 write(1) SLAB 1591 1592 1593 FIELD='HCl' 1594 UNITS='kg/kg' 1595 DESC='HCl mixing ratio' 1596 XLVL=levels(k) 1597 SLAB=chemtrac(:,:,1,time_out(l),17) 1598 ! And now put everything in the destination file 1599 ! ... Header 1600 write(1) IFV 1601 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1602 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1603 ! ... Data 1604 write(1) SLAB 1605 1606 1607 FIELD='HOCl' 1608 UNITS='kg/kg' 1609 DESC='HOCl mixing ratio' 1610 XLVL=levels(k) 1611 SLAB=chemtrac(:,:,1,time_out(l),18) 1612 ! And now put everything in the destination file 1613 ! ... Header 1614 write(1) IFV 1615 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1616 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1617 ! ... Data 1618 write(1) SLAB 1619 1620 1621 FIELD='ClCO' 1622 UNITS='kg/kg' 1623 DESC='ClCO mixing ratio' 1624 XLVL=levels(k) 1625 SLAB=chemtrac(:,:,1,time_out(l),19) 1626 ! And now put everything in the destination file 1627 ! ... Header 1628 write(1) IFV 1629 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1630 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1631 ! ... Data 1632 write(1) SLAB 1633 1634 1635 FIELD='ClCO3' 1636 UNITS='kg/kg' 1637 DESC='ClCO3 mixing ratio' 1638 XLVL=levels(k) 1639 SLAB=chemtrac(:,:,1,time_out(l),20) 1640 ! And now put everything in the destination file 1641 ! ... Header 1642 write(1) IFV 1643 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1644 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1645 ! ... Data 1646 write(1) SLAB 1647 1648 1649 FIELD='COCl2' 1650 UNITS='kg/kg' 1651 DESC='COClC2 mixing ratio' 1652 XLVL=levels(k) 1653 SLAB=chemtrac(:,:,1,time_out(l),21) 1654 ! And now put everything in the destination file 1655 ! ... Header 1656 write(1) IFV 1657 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1658 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1659 ! ... Data 1660 write(1) SLAB 1661 1662 1663 FIELD='S' 1664 UNITS='kg/kg' 1665 DESC='S mixing ratio' 1666 XLVL=levels(k) 1667 SLAB=chemtrac(:,:,1,time_out(l),22) 1668 ! And now put everything in the destination file 1669 ! ... Header 1670 write(1) IFV 1671 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1672 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1673 ! ... Data 1674 write(1) SLAB 1675 1676 1677 FIELD='SO' 1678 UNITS='kg/kg' 1679 DESC='SO mixing ratio' 1680 XLVL=levels(k) 1681 SLAB=chemtrac(:,:,1,time_out(l),23) 1682 ! And now put everything in the destination file 1683 ! ... Header 1684 write(1) IFV 1685 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1686 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1687 ! ... Data 1688 write(1) SLAB 1689 1690 1691 FIELD='SO2' 1692 UNITS='kg/kg' 1693 DESC='SO2 mixing ratio' 1694 XLVL=levels(k) 1695 SLAB=chemtrac(:,:,1,time_out(l),24) 1696 ! And now put everything in the destination file 1697 ! ... Header 1698 write(1) IFV 1699 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1700 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1701 ! ... Data 1702 write(1) SLAB 1703 1704 1705 FIELD='SO3' 1706 UNITS='kg/kg' 1707 DESC='SO3 mixing ratio' 1708 XLVL=levels(k) 1709 SLAB=chemtrac(:,:,1,time_out(l),25) 1710 ! And now put everything in the destination file 1711 ! ... Header 1712 write(1) IFV 1713 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1714 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1715 ! ... Data 1716 write(1) SLAB 1717 1718 1719 FIELD='S2O2' 1720 UNITS='kg/kg' 1721 DESC='S2O2 mixing ratio' 1722 XLVL=levels(k) 1723 SLAB=chemtrac(:,:,1,time_out(l),26) 1724 ! And now put everything in the destination file 1725 ! ... Header 1726 write(1) IFV 1727 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1728 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1729 ! ... Data 1730 write(1) SLAB 1731 1732 1733 FIELD='OCS' 1734 UNITS='kg/kg' 1735 DESC='OCS mixing ratio' 1736 XLVL=levels(k) 1737 SLAB=chemtrac(:,:,1,time_out(l),27) 1738 ! And now put everything in the destination file 1739 ! ... Header 1740 write(1) IFV 1741 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1742 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1743 ! ... Data 1744 write(1) SLAB 1745 1746 1747 FIELD='HSO3' 1748 UNITS='kg/kg' 1749 DESC='HSO3 mixing ratio' 1750 XLVL=levels(k) 1751 SLAB=chemtrac(:,:,1,time_out(l),28) 1752 ! And now put everything in the destination file 1753 ! ... Header 1754 write(1) IFV 1755 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1756 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1757 ! ... Data 1758 write(1) SLAB 1759 1760 1761 FIELD='H2SO4' 1762 UNITS='kg/kg' 1763 DESC='H2SO4 mixing ratio' 1764 XLVL=levels(k) 1765 SLAB=chemtrac(:,:,1,time_out(l),29) 1766 ! And now put everything in the destination file 1767 ! ... Header 1768 write(1) IFV 1769 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1770 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1771 ! ... Data 1772 write(1) SLAB 1773 1774 1775 FIELD='S2' 1776 UNITS='kg/kg' 1777 DESC='S2 mixing ratio' 1778 XLVL=levels(k) 1779 SLAB=chemtrac(:,:,1,time_out(l),30) 1780 ! And now put everything in the destination file 1781 ! ... Header 1782 write(1) IFV 1783 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1784 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1785 ! ... Data 1786 write(1) SLAB 1787 1788 1789 FIELD='ClSO2' 1790 UNITS='kg/kg' 1791 DESC='ClSO2 mixing ratio' 1792 XLVL=levels(k) 1793 SLAB=chemtrac(:,:,1,time_out(l),31) 1794 ! And now put everything in the destination file 1795 ! ... Header 1796 write(1) IFV 1797 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1798 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1799 ! ... Data 1800 write(1) SLAB 1801 1802 1803 FIELD='OSCl' 1804 UNITS='kg/kg' 1805 DESC='OSCl mixing ratio' 1806 XLVL=levels(k) 1807 SLAB=chemtrac(:,:,1,time_out(l),32) 1808 ! And now put everything in the destination file 1809 ! ... Header 1810 write(1) IFV 1811 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1812 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1813 ! ... Data 1814 write(1) SLAB 1815 1816 1817 FIELD='H2Oliq' 1818 UNITS='kg/kg' 1819 DESC='H2Oliq mixing ratio' 1820 XLVL=levels(k) 1821 SLAB=chemtrac(:,:,1,time_out(l),33) 1822 ! And now put everything in the destination file 1823 ! ... Header 1824 write(1) IFV 1825 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1826 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1827 ! ... Data 1828 write(1) SLAB 1829 1830 1831 FIELD='H2SO4liq' 1832 UNITS='kg/kg' 1833 DESC='H2SO4liq mixing ratio' 1834 XLVL=levels(k) 1835 SLAB=chemtrac(:,:,1,time_out(l),34) 1836 ! And now put everything in the destination file 1837 ! ... Header 1838 write(1) IFV 1839 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1840 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1841 ! ... Data 1842 write(1) SLAB 1359 1843 #endif 1360 1844 … … 1686 2170 !------------------------! 1687 2171 #ifdef PHOTOCHEM 1688 DO i=1,nchemtrac 1689 FIELD=wtnom(i) 1690 UNITS='units' 1691 DESC='desc' 1692 DO k = 1,altlen 1693 XLVL=levels(k) 1694 SLAB=chemtrac(:,:,k,time_out(l),i) 1695 ! And now put everything in the destination file 1696 ! ... Header 1697 write(1) IFV 1698 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 1699 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 1700 ! ... Data 1701 write(1) SLAB 1702 END DO 1703 ENDDO 2172 FIELD='CO2' 2173 UNITS='kg/kg' 2174 DESC='CO2 mixing ratio' 2175 DO k = 1,altlen 2176 XLVL=levels(k) 2177 SLAB=chemtrac(:,:,k,time_out(l),1) 2178 ! And now put everything in the destination file 2179 ! ... Header 2180 write(1) IFV 2181 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2182 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2183 ! ... Data 2184 write(1) SLAB 2185 END DO 2186 2187 FIELD='CO' 2188 UNITS='kg/kg' 2189 DESC='CO mixing ratio' 2190 DO k = 1,altlen 2191 XLVL=levels(k) 2192 SLAB=chemtrac(:,:,k,time_out(l),2) 2193 ! And now put everything in the destination file 2194 ! ... Header 2195 write(1) IFV 2196 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2197 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2198 ! ... Data 2199 write(1) SLAB 2200 END DO 2201 2202 FIELD='H2' 2203 UNITS='kg/kg' 2204 DESC='H2 mixing ratio' 2205 DO k = 1,altlen 2206 XLVL=levels(k) 2207 SLAB=chemtrac(:,:,k,time_out(l),3) 2208 ! And now put everything in the destination file 2209 ! ... Header 2210 write(1) IFV 2211 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2212 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2213 ! ... Data 2214 write(1) SLAB 2215 END DO 2216 2217 FIELD='H2O' 2218 UNITS='kg/kg' 2219 DESC='H2O mixing ratio' 2220 DO k = 1,altlen 2221 XLVL=levels(k) 2222 SLAB=chemtrac(:,:,k,time_out(l),4) 2223 ! And now put everything in the destination file 2224 ! ... Header 2225 write(1) IFV 2226 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2227 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2228 ! ... Data 2229 write(1) SLAB 2230 END DO 2231 2232 FIELD='O1D' 2233 UNITS='kg/kg' 2234 DESC='O1D mixing ratio' 2235 DO k = 1,altlen 2236 XLVL=levels(k) 2237 SLAB=chemtrac(:,:,k,time_out(l),5) 2238 ! And now put everything in the destination file 2239 ! ... Header 2240 write(1) IFV 2241 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2242 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2243 ! ... Data 2244 write(1) SLAB 2245 END DO 2246 2247 FIELD='O' 2248 UNITS='kg/kg' 2249 DESC='O mixing ratio' 2250 DO k = 1,altlen 2251 XLVL=levels(k) 2252 SLAB=chemtrac(:,:,k,time_out(l),6) 2253 ! And now put everything in the destination file 2254 ! ... Header 2255 write(1) IFV 2256 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2257 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2258 ! ... Data 2259 write(1) SLAB 2260 END DO 2261 2262 FIELD='O2' 2263 UNITS='kg/kg' 2264 DESC='O2 mixing ratio' 2265 DO k = 1,altlen 2266 XLVL=levels(k) 2267 SLAB=chemtrac(:,:,k,time_out(l),7) 2268 ! And now put everything in the destination file 2269 ! ... Header 2270 write(1) IFV 2271 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2272 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2273 ! ... Data 2274 write(1) SLAB 2275 END DO 2276 2277 FIELD='O2DG' 2278 UNITS='kg/kg' 2279 DESC='O2DG mixing ratio' 2280 DO k = 1,altlen 2281 XLVL=levels(k) 2282 SLAB=chemtrac(:,:,k,time_out(l),8) 2283 ! And now put everything in the destination file 2284 ! ... Header 2285 write(1) IFV 2286 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2287 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2288 ! ... Data 2289 write(1) SLAB 2290 END DO 2291 2292 FIELD='O3' 2293 UNITS='kg/kg' 2294 DESC='O3 mixing ratio' 2295 DO k = 1,altlen 2296 XLVL=levels(k) 2297 SLAB=chemtrac(:,:,k,time_out(l),9) 2298 ! And now put everything in the destination file 2299 ! ... Header 2300 write(1) IFV 2301 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2302 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2303 ! ... Data 2304 write(1) SLAB 2305 END DO 2306 2307 FIELD='H' 2308 UNITS='kg/kg' 2309 DESC='H mixing ratio' 2310 DO k = 1,altlen 2311 XLVL=levels(k) 2312 SLAB=chemtrac(:,:,k,time_out(l),10) 2313 ! And now put everything in the destination file 2314 ! ... Header 2315 write(1) IFV 2316 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2317 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2318 ! ... Data 2319 write(1) SLAB 2320 END DO 2321 2322 FIELD='OH' 2323 UNITS='kg/kg' 2324 DESC='OH mixing ratio' 2325 DO k = 1,altlen 2326 XLVL=levels(k) 2327 SLAB=chemtrac(:,:,k,time_out(l),11) 2328 ! And now put everything in the destination file 2329 ! ... Header 2330 write(1) IFV 2331 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2332 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2333 ! ... Data 2334 write(1) SLAB 2335 END DO 2336 2337 FIELD='HO2' 2338 UNITS='kg/kg' 2339 DESC='hO2 mixing ratio' 2340 DO k = 1,altlen 2341 XLVL=levels(k) 2342 SLAB=chemtrac(:,:,k,time_out(l),12) 2343 ! And now put everything in the destination file 2344 ! ... Header 2345 write(1) IFV 2346 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2347 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2348 ! ... Data 2349 write(1) SLAB 2350 END DO 2351 2352 FIELD='H2O2' 2353 UNITS='kg/kg' 2354 DESC='H2O2 mixing ratio' 2355 DO k = 1,altlen 2356 XLVL=levels(k) 2357 SLAB=chemtrac(:,:,k,time_out(l),13) 2358 ! And now put everything in the destination file 2359 ! ... Header 2360 write(1) IFV 2361 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2362 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2363 ! ... Data 2364 write(1) SLAB 2365 END DO 2366 2367 FIELD='Cl' 2368 UNITS='kg/kg' 2369 DESC='Cl mixing ratio' 2370 DO k = 1,altlen 2371 XLVL=levels(k) 2372 SLAB=chemtrac(:,:,k,time_out(l),14) 2373 ! And now put everything in the destination file 2374 ! ... Header 2375 write(1) IFV 2376 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2377 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2378 ! ... Data 2379 write(1) SLAB 2380 END DO 2381 2382 FIELD='ClO' 2383 UNITS='kg/kg' 2384 DESC='ClO mixing ratio' 2385 DO k = 1,altlen 2386 XLVL=levels(k) 2387 SLAB=chemtrac(:,:,k,time_out(l),15) 2388 ! And now put everything in the destination file 2389 ! ... Header 2390 write(1) IFV 2391 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2392 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2393 ! ... Data 2394 write(1) SLAB 2395 END DO 2396 2397 FIELD='Cl2' 2398 UNITS='kg/kg' 2399 DESC='Cl2 mixing ratio' 2400 DO k = 1,altlen 2401 XLVL=levels(k) 2402 SLAB=chemtrac(:,:,k,time_out(l),16) 2403 ! And now put everything in the destination file 2404 ! ... Header 2405 write(1) IFV 2406 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2407 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2408 ! ... Data 2409 write(1) SLAB 2410 END DO 2411 2412 FIELD='HCl' 2413 UNITS='kg/kg' 2414 DESC='HCl mixing ratio' 2415 DO k = 1,altlen 2416 XLVL=levels(k) 2417 SLAB=chemtrac(:,:,k,time_out(l),17) 2418 ! And now put everything in the destination file 2419 ! ... Header 2420 write(1) IFV 2421 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2422 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2423 ! ... Data 2424 write(1) SLAB 2425 END DO 2426 2427 FIELD='HOCl' 2428 UNITS='kg/kg' 2429 DESC='HOCl mixing ratio' 2430 DO k = 1,altlen 2431 XLVL=levels(k) 2432 SLAB=chemtrac(:,:,k,time_out(l),18) 2433 ! And now put everything in the destination file 2434 ! ... Header 2435 write(1) IFV 2436 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2437 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2438 ! ... Data 2439 write(1) SLAB 2440 END DO 2441 2442 FIELD='ClCO' 2443 UNITS='kg/kg' 2444 DESC='ClCO mixing ratio' 2445 DO k = 1,altlen 2446 XLVL=levels(k) 2447 SLAB=chemtrac(:,:,k,time_out(l),19) 2448 ! And now put everything in the destination file 2449 ! ... Header 2450 write(1) IFV 2451 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2452 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2453 ! ... Data 2454 write(1) SLAB 2455 END DO 2456 2457 FIELD='ClCO3' 2458 UNITS='kg/kg' 2459 DESC='ClCO3 mixing ratio' 2460 DO k = 1,altlen 2461 XLVL=levels(k) 2462 SLAB=chemtrac(:,:,k,time_out(l),20) 2463 ! And now put everything in the destination file 2464 ! ... Header 2465 write(1) IFV 2466 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2467 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2468 ! ... Data 2469 write(1) SLAB 2470 END DO 2471 2472 FIELD='COCl2' 2473 UNITS='kg/kg' 2474 DESC='COClC2 mixing ratio' 2475 DO k = 1,altlen 2476 XLVL=levels(k) 2477 SLAB=chemtrac(:,:,k,time_out(l),21) 2478 ! And now put everything in the destination file 2479 ! ... Header 2480 write(1) IFV 2481 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2482 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2483 ! ... Data 2484 write(1) SLAB 2485 END DO 2486 2487 FIELD='S' 2488 UNITS='kg/kg' 2489 DESC='S mixing ratio' 2490 DO k = 1,altlen 2491 XLVL=levels(k) 2492 SLAB=chemtrac(:,:,k,time_out(l),22) 2493 ! And now put everything in the destination file 2494 ! ... Header 2495 write(1) IFV 2496 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2497 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2498 ! ... Data 2499 write(1) SLAB 2500 END DO 2501 2502 FIELD='SO' 2503 UNITS='kg/kg' 2504 DESC='SO mixing ratio' 2505 DO k = 1,altlen 2506 XLVL=levels(k) 2507 SLAB=chemtrac(:,:,k,time_out(l),23) 2508 ! And now put everything in the destination file 2509 ! ... Header 2510 write(1) IFV 2511 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2512 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2513 ! ... Data 2514 write(1) SLAB 2515 END DO 2516 2517 FIELD='SO2' 2518 UNITS='kg/kg' 2519 DESC='SO2 mixing ratio' 2520 DO k = 1,altlen 2521 XLVL=levels(k) 2522 SLAB=chemtrac(:,:,k,time_out(l),24) 2523 ! And now put everything in the destination file 2524 ! ... Header 2525 write(1) IFV 2526 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2527 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2528 ! ... Data 2529 write(1) SLAB 2530 END DO 2531 2532 FIELD='SO3' 2533 UNITS='kg/kg' 2534 DESC='SO3 mixing ratio' 2535 DO k = 1,altlen 2536 XLVL=levels(k) 2537 SLAB=chemtrac(:,:,k,time_out(l),25) 2538 ! And now put everything in the destination file 2539 ! ... Header 2540 write(1) IFV 2541 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2542 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2543 ! ... Data 2544 write(1) SLAB 2545 END DO 2546 2547 FIELD='S2O2' 2548 UNITS='kg/kg' 2549 DESC='S2O2 mixing ratio' 2550 DO k = 1,altlen 2551 XLVL=levels(k) 2552 SLAB=chemtrac(:,:,k,time_out(l),26) 2553 ! And now put everything in the destination file 2554 ! ... Header 2555 write(1) IFV 2556 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2557 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2558 ! ... Data 2559 write(1) SLAB 2560 END DO 2561 2562 FIELD='OCS' 2563 UNITS='kg/kg' 2564 DESC='OCS mixing ratio' 2565 DO k = 1,altlen 2566 XLVL=levels(k) 2567 SLAB=chemtrac(:,:,k,time_out(l),27) 2568 ! And now put everything in the destination file 2569 ! ... Header 2570 write(1) IFV 2571 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2572 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2573 ! ... Data 2574 write(1) SLAB 2575 END DO 2576 2577 FIELD='HSO3' 2578 UNITS='kg/kg' 2579 DESC='HSO3 mixing ratio' 2580 DO k = 1,altlen 2581 XLVL=levels(k) 2582 SLAB=chemtrac(:,:,k,time_out(l),28) 2583 ! And now put everything in the destination file 2584 ! ... Header 2585 write(1) IFV 2586 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2587 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2588 ! ... Data 2589 write(1) SLAB 2590 END DO 2591 2592 FIELD='H2SO4' 2593 UNITS='kg/kg' 2594 DESC='H2SO4 mixing ratio' 2595 DO k = 1,altlen 2596 XLVL=levels(k) 2597 SLAB=chemtrac(:,:,k,time_out(l),29) 2598 ! And now put everything in the destination file 2599 ! ... Header 2600 write(1) IFV 2601 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2602 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2603 ! ... Data 2604 write(1) SLAB 2605 END DO 2606 2607 FIELD='S2' 2608 UNITS='kg/kg' 2609 DESC='S2 mixing ratio' 2610 DO k = 1,altlen 2611 XLVL=levels(k) 2612 SLAB=chemtrac(:,:,k,time_out(l),30) 2613 ! And now put everything in the destination file 2614 ! ... Header 2615 write(1) IFV 2616 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2617 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2618 ! ... Data 2619 write(1) SLAB 2620 END DO 2621 2622 FIELD='ClSO2' 2623 UNITS='kg/kg' 2624 DESC='ClSO2 mixing ratio' 2625 DO k = 1,altlen 2626 XLVL=levels(k) 2627 SLAB=chemtrac(:,:,k,time_out(l),31) 2628 ! And now put everything in the destination file 2629 ! ... Header 2630 write(1) IFV 2631 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2632 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2633 ! ... Data 2634 write(1) SLAB 2635 END DO 2636 2637 FIELD='OSCl' 2638 UNITS='kg/kg' 2639 DESC='OSCl mixing ratio' 2640 DO k = 1,altlen 2641 XLVL=levels(k) 2642 SLAB=chemtrac(:,:,k,time_out(l),32) 2643 ! And now put everything in the destination file 2644 ! ... Header 2645 write(1) IFV 2646 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2647 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2648 ! ... Data 2649 write(1) SLAB 2650 END DO 2651 2652 FIELD='H2Oliq' 2653 UNITS='kg/kg' 2654 DESC='H2Oliq mixing ratio' 2655 DO k = 1,altlen 2656 XLVL=levels(k) 2657 SLAB=chemtrac(:,:,k,time_out(l),33) 2658 ! And now put everything in the destination file 2659 ! ... Header 2660 write(1) IFV 2661 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2662 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2663 ! ... Data 2664 write(1) SLAB 2665 END DO 2666 2667 FIELD='H2SO4liq' 2668 UNITS='kg/kg' 2669 DESC='H2SO4liq mixing ratio' 2670 DO k = 1,altlen 2671 XLVL=levels(k) 2672 SLAB=chemtrac(:,:,k,time_out(l),34) 2673 ! And now put everything in the destination file 2674 ! ... Header 2675 write(1) IFV 2676 write(1) HDATE,XFCST,SOURCE,FIELD,UNITS,DESC,XLVL,NX,NY,IPROJ 2677 write(1) STARTLOC,STARTLAT,STARTLON,DELTALAT,DELTALON 2678 ! ... Data 2679 write(1) SLAB 2680 END DO 1704 2681 #endif 1705 2682
Note: See TracChangeset
for help on using the changeset viewer.