From 32a6a7b23f783361ab16b824874317ac7a4d67a8 Mon Sep 17 00:00:00 2001
From: richard <richard@aaf1aab0-4228-0410-ad68-8dceda47f409>
Date: Tue, 17 Sep 2024 08:01:15 +0000
Subject: [PATCH] Port the files from ARTS-XML-DATA-2.6-3

git-svn-id: https://radiativetransfer.org/svn/rt/arts-xml-data/trunk@11443 aaf1aab0-4228-0410-ad68-8dceda47f409
---
 ChangeLog                                     |  4 ++
 .../LW-flux-optimized-f_grid.xml              | 71 +++++++++++++++++++
 .../LW-flux-optimized-quadrature_weights.xml  | 69 ++++++++++++++++++
 .../SW-flux-optimized-f_grid.xml              | 71 +++++++++++++++++++
 .../SW-flux-optimized-quadrature_weights.xml  | 69 ++++++++++++++++++
 .../Earth/Optimized-Flux-Frequencies/readme   | 14 ++++
 6 files changed, 298 insertions(+)
 create mode 100644 planets/Earth/Optimized-Flux-Frequencies/LW-flux-optimized-f_grid.xml
 create mode 100644 planets/Earth/Optimized-Flux-Frequencies/LW-flux-optimized-quadrature_weights.xml
 create mode 100644 planets/Earth/Optimized-Flux-Frequencies/SW-flux-optimized-f_grid.xml
 create mode 100644 planets/Earth/Optimized-Flux-Frequencies/SW-flux-optimized-quadrature_weights.xml
 create mode 100644 planets/Earth/Optimized-Flux-Frequencies/readme

diff --git a/ChangeLog b/ChangeLog
index 15a96d5a..b625d61a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-09-17  Richard Larsson <ric.larsson@gmail.com>
+
+	* Port the files from ARTS-XML-DATA-2.6-3
+
 2023-10-11  Richard Larsson <ric.larsson@gmail.com>
 
 	* ARTS-XML-DATA-2-6-1
diff --git a/planets/Earth/Optimized-Flux-Frequencies/LW-flux-optimized-f_grid.xml b/planets/Earth/Optimized-Flux-Frequencies/LW-flux-optimized-f_grid.xml
new file mode 100644
index 00000000..cc3671bc
--- /dev/null
+++ b/planets/Earth/Optimized-Flux-Frequencies/LW-flux-optimized-f_grid.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0"?>
+<arts format="ascii" version="1">
+<AscendingGrid>
+<Vector nelem="64">
+472478896070.984
+916171739629.072
+2470895330753.2
+3888913748582.6
+6792103802067.33
+7609338335341.4
+8351624296668.48
+8900244128850.89
+9021360538053.21
+9055537317414.31
+11517432836127.3
+11922152654427.3
+12426403788357.8
+13760480226457.8
+13897185514114.3
+14156805892529.6
+14926072534650.9
+16851938992076.8
+16973056316173.1
+17761510114755.5
+18205802757086.1
+18319123354720.3
+19115372049976.8
+19205909957825
+19467329932690.7
+19869050728537.9
+19914019597237.9
+20015949764873.1
+20019547127986.1
+20086100175363.9
+20087898856920.3
+20266575820612
+20604740761746.3
+20924920717103.7
+20986677890260.1
+21099998487894.4
+21513711713976.8
+21604249621825
+21774531518394.4
+22110299437312
+22438872630003.7
+22966506624168.5
+23736973607186.1
+23901859459086.1
+24934344757629.6
+27306302538942.6
+28833445393186.1
+30671172794768.5
+31009939736138.8
+31087284872855.5
+31134050593324
+32856060375055.5
+35146475486090.7
+35217826237477.7
+36446375144829.6
+38571304233516.6
+38910667685759.2
+44132476286872
+44297362138772
+47286295140777.6
+49387839539442.4
+59928662396812
+62821655956936.1
+72984620283136.1
+</Vector>
+</AscendingGrid>
+</arts>
diff --git a/planets/Earth/Optimized-Flux-Frequencies/LW-flux-optimized-quadrature_weights.xml b/planets/Earth/Optimized-Flux-Frequencies/LW-flux-optimized-quadrature_weights.xml
new file mode 100644
index 00000000..ff9b34d9
--- /dev/null
+++ b/planets/Earth/Optimized-Flux-Frequencies/LW-flux-optimized-quadrature_weights.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<arts format="ascii" version="1">
+<Vector nelem="64">
+15072375751411.4
+180627832492.342
+1412505827013.22
+3456190019354.13
+346307573112.902
+36140861124.691
+391934200444.815
+1004557482475.68
+1755023380141.82
+405133388811.603
+1130161813985.23
+73731175853.1935
+2089377327080.49
+721303171691.741
+106259036670.651
+570396984302.78
+1034611988604.82
+257794196427.672
+1133441446398.13
+309226122138.815
+155773220251.62
+477668261877.201
+12271333119.2542
+517700060599.115
+578682768813.152
+168067882478.526
+19162665588.489
+9136401387.35204
+19804861456.4142
+82271647576.9945
+176155309862.775
+1816266127.91791
+366817201977.489
+143365676118.641
+116090920244.934
+400562496702.71
+248980580974.2
+22661060119.807
+62934050096.4681
+474113289595.877
+526435468908.65
+1060213556272.17
+439104378979.691
+1442439669209.17
+809784606289.61
+3145959755801.89
+555674881910.792
+662895053715.726
+81405975133.9525
+854042841478.103
+128034958420.314
+2872539027712.54
+168681289386.625
+2332935198060.52
+2176046030581.69
+1303818333191
+173524934899.302
+594339200634.134
+4294309004338.58
+4298654589091.33
+311044926195.992
+11579993305697
+11271827187562.1
+11107676395861.1
+</Vector>
+</arts>
diff --git a/planets/Earth/Optimized-Flux-Frequencies/SW-flux-optimized-f_grid.xml b/planets/Earth/Optimized-Flux-Frequencies/SW-flux-optimized-f_grid.xml
new file mode 100644
index 00000000..7da08beb
--- /dev/null
+++ b/planets/Earth/Optimized-Flux-Frequencies/SW-flux-optimized-f_grid.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0"?>
+<arts format="ascii" version="1">
+<AscendingGrid>
+<Vector nelem="64">
+72592838628124.5
+87137296409135
+90198076290265.3
+97884546066938.5
+99357402551091.5
+100692178739855
+103983092446634
+108424675281658
+109644384557597
+112221883404865
+114108980775186
+115489783729079
+124741163520165
+144716779586489
+151114499939529
+167983309359593
+186877296445368
+198545081405767
+204482534107509
+207405233693250
+209453424741525
+210880254460548
+213987061106808
+216403466276122
+220315741312153
+236033881603973
+238749460746630
+247494546121288
+259875745941199
+263788020977230
+287284684575982
+311909003920414
+313335833639438
+317777416474461
+318674938394492
+320400942086859
+321666678127928
+321942838718706
+355128136377278
+363182820274989
+391719414655453
+417034135476832
+423362815682176
+477329197796843
+481839820779562
+529638616366838
+530743258729953
+538245621446107
+578473014169534
+608965746068013
+722858976381653
+826948505722650
+855139899364640
+911706793709140
+962750476238066
+996787269051538
+1.0172001393866e+15
+1.0658964568939e+15
+1.22086857508587e+15
+1.2234690873157e+15
+1.23009694149439e+15
+1.25018762447354e+15
+1.29704287137566e+15
+1.3676709424673e+15
+</Vector>
+</AscendingGrid>
+</arts>
diff --git a/planets/Earth/Optimized-Flux-Frequencies/SW-flux-optimized-quadrature_weights.xml b/planets/Earth/Optimized-Flux-Frequencies/SW-flux-optimized-quadrature_weights.xml
new file mode 100644
index 00000000..80826010
--- /dev/null
+++ b/planets/Earth/Optimized-Flux-Frequencies/SW-flux-optimized-quadrature_weights.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<arts format="ascii" version="1">
+<Vector nelem="64">
+12581512779624.1
+5535785312703.35
+3578426200246.65
+5449602688545.65
+1845777048240.38
+7847530446144.25
+3751592181602.02
+19313525198.8407
+9263762416196.98
+441595567179.522
+2324331969313.43
+1966685615940.46
+4208156192020.79
+4592128757870.18
+29289639865156.2
+5949063969035.63
+3827716051320.66
+30380715299090.7
+7384718187911.34
+1526734936143.7
+819839576871.036
+2152169801509.05
+5006558149625.21
+1096854071228.97
+4337443711344.9
+5113377558270.49
+59132119.7649543
+6631335064903.19
+3475919706010.27
+13933972621457.9
+14369860161323.1
+8238183030901.65
+3971313877328.72
+3684181982493.91
+638820824.165339
+61289340.7643778
+4579076555747.48
+829434206884.26
+70525670715099
+16764339463.0031
+270935754.315942
+17143053085415.9
+51223770996654.1
+5250012989062.15
+0
+28176519390962.8
+31594744764560.5
+42065588681366.6
+37533009533246.5
+133026417169570
+124252461471536
+0
+0
+40926491616661.9
+38968975509599.7
+9946911335814.16
+46502646672344.2
+68414511066754.7
+490611459.456806
+60384259644850.9
+237138621848514
+563598328.497301
+175906785822749
+101961715.540549
+</Vector>
+</arts>
diff --git a/planets/Earth/Optimized-Flux-Frequencies/readme b/planets/Earth/Optimized-Flux-Frequencies/readme
new file mode 100644
index 00000000..c5d40509
--- /dev/null
+++ b/planets/Earth/Optimized-Flux-Frequencies/readme
@@ -0,0 +1,14 @@
+This folder contains optimized set of frequencies and quadrature weights
+from Paulina Czarnecki for fast long and shortwave flux calculations.
+
+Use the frequencies as f_grid for the radiative transfer simulation and 
+the weights for the spectral integration.
+
+Originally the frequencies and weights were in the units of wavenumbers but 
+they are converted to Hz.
+
+For details on the algorithm for the frequency selection and weight estimation
+see:
+P. Czarnecki, L. Polvani, R. Pincus, Sparse, empirically optimized quadrature 
+for broadband spectral integration, Journal of Advances in Modeling Earth 
+Systems 15 (10) (2023) https://doi.org/10.1029/2023MS003819
-- 
GitLab