# I/O API

**URL:** https://forum.cmascenter.org/c/ioapi/5.md?page=1

[Latest](https://forum.cmascenter.org/latest.md) · [Categories](https://forum.cmascenter.org/categories.md) · [Tags](https://forum.cmascenter.org/tags.md)

**Page:** 2

---

## [Problems in installing large version IOAPI](https://forum.cmascenter.org/t/problems-in-installing-large-version-ioapi/4185)

<div class="topic-metadata">

**Author:** [@copycky28](https://forum.cmascenter.org/u/copycky28)\
**Replies:** 6\
**Last updated:** [June 20, 2023, 9:04pm UTC](https://forum.cmascenter.org/t/problems-in-installing-large-version-ioapi/4185 "2023-06-20T21:04:14Z")

</div>

Hi all, I am trying to compile IOAPI-large for my simulation but when I compiling m3tools I got error of: In function wrvars\_': wrvars.F90:(.text+0x115): undefined reference to nf\_put\_vara\_int64\_’ wrvars.F90:(.text+0x…

---

## [Creating GRIDMASK File in order to use EDGAR data for a certain region of Northern Hemisphere](https://forum.cmascenter.org/t/creating-gridmask-file-in-order-to-use-edgar-data-for-a-certain-region-of-northern-hemisphere/2271)

<div class="topic-metadata">

**Author:** [@amirdudu](https://forum.cmascenter.org/u/amirdudu)\
**Replies:** 5\
**Last updated:** [May 8, 2023, 12:04pm UTC](https://forum.cmascenter.org/t/creating-gridmask-file-in-order-to-use-edgar-data-for-a-certain-region-of-northern-hemisphere/2271 "2023-05-08T12:04:27Z")

</div>

Dear all, I am trying to create a GRIDMASK file for a region in Northern Hemisphere in order to use EDGAR Emission Data for that region. I have been following the instructions given in “Hemispheric Modeling Support in S…

---

## [Error installing mozart2camx tool](https://forum.cmascenter.org/t/error-installing-mozart2camx-tool/4090)

<div class="topic-metadata">

**Author:** [@geek](https://forum.cmascenter.org/u/geek)\
**Replies:** 2\
**Last updated:** [April 28, 2023, 1:51pm UTC](https://forum.cmascenter.org/t/error-installing-mozart2camx-tool/4090 "2023-04-28T13:51:59Z")

</div>

Hello everyone! I will use WACCM data as the boundary field for the CAMQ model. I have an error compiling the modeza tool. Below is a screenshot of the error. Can anyone give me a hint, thanks.

---

## [Error Generating GR\_EMIS\_001](https://forum.cmascenter.org/t/error-generating-gr-emis-001/1553)

<div class="topic-metadata">

**Author:** [@hannah.n](https://forum.cmascenter.org/u/hannah.n)\
**Replies:** 6\
**Last updated:** [April 4, 2023, 4:42pm UTC](https://forum.cmascenter.org/t/error-generating-gr-emis-001/1553 "2023-04-04T16:42:10Z")

</div>

Hi All, Hope you will be able to advise, I have generated my own gridded emissions files for CMAQ (not using SMOKE) as I needed some very spesific temporal and species profiles applied . I have generated a NetCDF file u…

---

## [Issue with Megan-v2.0](https://forum.cmascenter.org/t/issue-with-megan-v2-0/1351)

<div class="topic-metadata">

**Author:** [@john](https://forum.cmascenter.org/u/john)\
**Replies:** 4\
**Last updated:** [March 14, 2023, 1:45pm UTC](https://forum.cmascenter.org/t/issue-with-megan-v2-0/1351 "2023-03-14T13:45:46Z")

</div>

Hello, I am having some issues with writing EFMAP\_LAI.csv file with about 192000 plus grids into netcdf ioapi format using the mg2ioapi executable in megan-v2.04 The conversion process only seems to work for EFMAP\_LAI…

---

## [Writesite with all layers](https://forum.cmascenter.org/t/writesite-with-all-layers/3935)

<div class="topic-metadata">

**Author:** [@kkkghs0828](https://forum.cmascenter.org/u/kkkghs0828)\
**Replies:** 1\
**Last updated:** [February 24, 2023, 11:27am UTC](https://forum.cmascenter.org/t/writesite-with-all-layers/3935 "2023-02-24T11:27:04Z")

</div>

I am trying to extract all layers data as csv file, but ALL variable for LAYER is not working. I tried foreach command but it might not work as well. Is there any solution? I can make scripts for all layers but it is n…

---

## [Wildfire script error](https://forum.cmascenter.org/t/wildfire-script-error/760)

<div class="topic-metadata">

**Author:** [@Catalyst2682](https://forum.cmascenter.org/u/Catalyst2682)\
**Replies:** 5\
**Last updated:** [February 20, 2023, 9:18am UTC](https://forum.cmascenter.org/t/wildfire-script-error/760 "2023-02-20T09:18:17Z")

</div>

Dear @tlspero @cjcoats @lizadams @bbaek, I am trying to run wildfire script to process its emission but I got this error: “/home/catalyst/Desktop/Build\_WRF/LIBRARIES/allocation/reas2/wildfire/wf\_ref.exe: error while lo…

---

## [IOAPI-3.2-large installation error](https://forum.cmascenter.org/t/ioapi-3-2-large-installation-error/3892)

<div class="topic-metadata">

**Author:** [@nan](https://forum.cmascenter.org/u/nan)\
**Replies:** 4\
**Last updated:** [February 10, 2023, 11:19am UTC](https://forum.cmascenter.org/t/ioapi-3-2-large-installation-error/3892 "2023-02-10T11:19:00Z")

</div>

Hello, everyone, I am using CMAQ-5.3.2-ISAM for PM2.5 source apportionment. Due to too many species tracked, the model has an error. According to the advice of the user manual, I tried to install IOAPI-3.2-large to solve…

---

## [Why disabling netcdf4?](https://forum.cmascenter.org/t/why-disabling-netcdf4/3866)

<div class="topic-metadata">

**Author:** [@kiarash\_farzad](https://forum.cmascenter.org/u/kiarash_farzad)\
**Replies:** 8\
**Last updated:** [February 1, 2023, 3:27pm UTC](https://forum.cmascenter.org/t/why-disabling-netcdf4/3866 "2023-02-01T15:27:19Z")

</div>

Hi, I was wondering why is it encouraged to disable netcdf4, and what happens if you compile with netcdf4 enabled? Thanks,

---

## [M3tool (m3combo)](https://forum.cmascenter.org/t/m3tool-m3combo/3862)

<div class="topic-metadata">

**Author:** [@kkkghs0828](https://forum.cmascenter.org/u/kkkghs0828)\
**Replies:** 3\
**Last updated:** [January 25, 2023, 12:16pm UTC](https://forum.cmascenter.org/t/m3tool-m3combo/3862 "2023-01-25T12:16:09Z")

</div>

Hello. I am trying to subtract two files with all variables (A and B) But I do not know how to subtract all variables. I was able to subtract single variable (NO2 as test) https://www.cmascenter.org/ioapi/documentati…

---

## [Convert GRIDDESC info in Lambert CC to UTM or Lat/lon](https://forum.cmascenter.org/t/convert-griddesc-info-in-lambert-cc-to-utm-or-lat-lon/3865)

<div class="topic-metadata">

**Author:** [@shayamila.gamage](https://forum.cmascenter.org/u/shayamila.gamage)\
**Replies:** 4\
**Last updated:** [January 27, 2023, 12:10am UTC](https://forum.cmascenter.org/t/convert-griddesc-info-in-lambert-cc-to-utm-or-lat-lon/3865 "2023-01-27T00:10:19Z")

</div>

Hi, I have a few domains defined in LLC which i am using to generate emissions in SMOKE. However, the AQ model we are using requires the Domain info in lat/lon coordinates. Is there any tool that I can use to convert the…

---

## [Error to use latlon code](https://forum.cmascenter.org/t/error-to-use-latlon-code/3840)

<div class="topic-metadata">

**Author:** [@Rypo](https://forum.cmascenter.org/u/Rypo)\
**Replies:** 3\
**Last updated:** [January 15, 2023, 11:47pm UTC](https://forum.cmascenter.org/t/error-to-use-latlon-code/3840 "2023-01-15T23:47:26Z")

</div>

Hi all, I tried to run ioapi command latlon to create one file with lat and long. My GRIDDESC includes below information ’ ’ ‘LAM\_40N\_97W’ 2 33.000 45.000 -97.000 -97.000 40.000 ’ ’ …

---

## [I/O API m3tools installation error: undefined reference to 'xxx'](https://forum.cmascenter.org/t/i-o-api-m3tools-installation-error-undefined-reference-to-xxx/3710)

<div class="topic-metadata">

**Author:** [@bluebulu108](https://forum.cmascenter.org/u/bluebulu108)\
**Replies:** 1\
**Last updated:** [November 13, 2022, 12:53pm UTC](https://forum.cmascenter.org/t/i-o-api-m3tools-installation-error-undefined-reference-to-xxx/3710 "2022-11-13T12:53:00Z")

</div>

Dear all, I successfully installed ioapi-3.2: \[root@scorpius Linux2\_x86\_64ifort\]# ls libioapi.a libioapi.a \[root@scorpius Linux2\_x86\_64ifort\]# ls \*.mod m3utilio.mod modatts3.mod modgctp.mod modmpasfio.mod modncfio.…

---

## [Installing I/O API Versions 3.2](https://forum.cmascenter.org/t/installing-i-o-api-versions-3-2/3589)

<div class="topic-metadata">

**Author:** [@LYM](https://forum.cmascenter.org/u/LYM)\
**Replies:** 2\
**Last updated:** [October 6, 2022, 11:25am UTC](https://forum.cmascenter.org/t/installing-i-o-api-versions-3-2/3589 "2022-10-06T11:25:07Z")

</div>

Dear all, I tried to install I/O API using Intel compiler. I have modified /ioapi-3.2/Makefile as followed: BIN = Linux2\_x86\_64ifort BASEDIR = ${PWD} INSTALL = /share/home/jliu2/dir\_lingyun/SMOKE/sub…

---

## [Is there a tool that can take the value of a variable in netcdf all × 2 in a certain period of time ？](https://forum.cmascenter.org/t/is-there-a-tool-that-can-take-the-value-of-a-variable-in-netcdf-all-x-2-in-a-certain-period-of-time/3542)

<div class="topic-metadata">

**Author:** [@bandaoshutiao](https://forum.cmascenter.org/u/bandaoshutiao)\
**Replies:** 5\
**Last updated:** [September 3, 2022, 2:03pm UTC](https://forum.cmascenter.org/t/is-there-a-tool-that-can-take-the-value-of-a-variable-in-netcdf-all-x-2-in-a-certain-period-of-time/3542 "2022-09-03T14:03:00Z")

</div>

For example, I want to multiply the PAR in the inventory of a certain day by 2 times during the time period of 12:00-15:00.

---

## [When I make ioapi ,I meet a problem, how to solve it](https://forum.cmascenter.org/t/when-i-make-ioapi-i-meet-a-problem-how-to-solve-it/3448)

<div class="topic-metadata">

**Author:** [@wyh](https://forum.cmascenter.org/u/wyh)\
**Replies:** 2\
**Last updated:** [August 20, 2022, 12:28pm UTC](https://forum.cmascenter.org/t/when-i-make-ioapi-i-meet-a-problem-how-to-solve-it/3448 "2022-08-20T12:28:01Z")

</div>

---

## [Airs2m3 error in IOAOP m3tools compilation](https://forum.cmascenter.org/t/airs2m3-error-in-ioaop-m3tools-compilation/3418)

<div class="topic-metadata">

**Author:** [@ckuo6](https://forum.cmascenter.org/u/ckuo6)\
**Replies:** 3\
**Last updated:** [July 7, 2022, 3:24pm UTC](https://forum.cmascenter.org/t/airs2m3-error-in-ioaop-m3tools-compilation/3418 "2022-07-07T15:24:32Z")

</div>

Hi, I am trying to compile ioapi and m3tools on my university’s machine. The loaded modules include intel-compilers netcdf-c netcdf-fortran hdf5. I used nc-config --all and arch to check C compiler (CC), fortran compil…

---

## [Tshift issue about concentration file](https://forum.cmascenter.org/t/tshift-issue-about-concentration-file/3322)

<div class="topic-metadata">

**Author:** [@bandaoshutiao](https://forum.cmascenter.org/u/bandaoshutiao)\
**Replies:** 6\
**Last updated:** [June 11, 2022, 2:58pm UTC](https://forum.cmascenter.org/t/tshift-issue-about-concentration-file/3322 "2022-06-11T14:58:43Z")

</div>

I try to timeshift the combine concentration files, but I get an error. \>\>---\>\> WARNING in subroutine M3TSHIFT Read failure: file INFILE M3WARN: DTBUF 12:00:00 Aug. 29, 2020 (2020242:120000) \>\>-…

---

## [The error about Install I/O API](https://forum.cmascenter.org/t/the-error-about-install-i-o-api/3292)

<div class="topic-metadata">

**Author:** [@cicy996](https://forum.cmascenter.org/u/cicy996)\
**Replies:** 4\
**Last updated:** [June 5, 2022, 8:42am UTC](https://forum.cmascenter.org/t/the-error-about-install-i-o-api/3292 "2022-06-05T08:42:04Z")

</div>

Hi, everyone. I am trying to install IOAPI-3.2 by pgf90. Here is the error msg. /disk/r071/cliucv/tool/software/ioapi-3.2-master/Linux2\_x86\_64pg/libnetcdf.a(libdap4\_la-d4curlfunctions.o): In function set\_curlopt': d4…

---

## [MTXCALC - no intersection of input/output grids](https://forum.cmascenter.org/t/mtxcalc-no-intersection-of-input-output-grids/3170)

<div class="topic-metadata">

**Author:** [@DLyder](https://forum.cmascenter.org/u/DLyder)\
**Replies:** 3\
**Last updated:** [April 8, 2022, 11:43am UTC](https://forum.cmascenter.org/t/mtxcalc-no-intersection-of-input-output-grids/3170 "2022-04-08T11:43:11Z")

</div>

Hi Everyone, I am trying to re-grid the BELD5 biogenic emissions from its native 1km x 1km grid to a 36 km x 36 km grid that is based on a polar stereographic projection centred on Western Canada. I am using the mxtcalc…

---

## [Airs2m3 error 2 while compiling m3tool in IOAPI3.2](https://forum.cmascenter.org/t/airs2m3-error-2-while-compiling-m3tool-in-ioapi3-2/3126)

<div class="topic-metadata">

**Author:** [@ckuo6](https://forum.cmascenter.org/u/ckuo6)\
**Replies:** 7\
**Last updated:** [March 30, 2022, 11:01am UTC](https://forum.cmascenter.org/t/airs2m3-error-2-while-compiling-m3tool-in-ioapi3-2/3126 "2022-03-30T11:01:46Z")

</div>

Hi, I am trying to compile IOAPI 3.2 with ifort, and it succeeds when “make” under /ioapi, and there is libioapi.a under /Linux5\_x86\_64ifort. My loaded modules include: intel/19.1.2.254 cray-hdf5/1.12.1.1 cray-netcdf/4…

---

## [How to run the tools in m3tools](https://forum.cmascenter.org/t/how-to-run-the-tools-in-m3tools/3011)

<div class="topic-metadata">

**Author:** [@ghb980003021](https://forum.cmascenter.org/u/ghb980003021)\
**Replies:** 3\
**Last updated:** [February 25, 2022, 12:42pm UTC](https://forum.cmascenter.org/t/how-to-run-the-tools-in-m3tools/3011 "2022-02-25T12:42:33Z")

</div>

I want to use m3fake and m3mask in m3tools to make region mask files for CMAQ, but I don’t know how to run them after I compile ioapi. What commands do I need to use to run these programs? What files do I need to prepare…

---

## [Problems creating bioseason file](https://forum.cmascenter.org/t/problems-creating-bioseason-file/2945)

<div class="topic-metadata">

**Author:** [@asmontgomery](https://forum.cmascenter.org/u/asmontgomery)\
**Replies:** 7\
**Last updated:** [January 12, 2022, 3:39pm UTC](https://forum.cmascenter.org/t/problems-creating-bioseason-file/2945 "2022-01-12T15:39:42Z")

</div>

Hello, I am attempting to run a spring and fall simulation, so I need to create a bioseason file for my domain. As opposed to running the whole year, I want to run only an october & april month (with spinup in the month…

---

## [Fail to read emission file](https://forum.cmascenter.org/t/fail-to-read-emission-file/2852)

<div class="topic-metadata">

**Author:** [@bmbmnb](https://forum.cmascenter.org/u/bmbmnb)\
**Replies:** 2\
**Last updated:** [December 3, 2021, 1:49am UTC](https://forum.cmascenter.org/t/fail-to-read-emission-file/2852 "2021-12-03T01:49:47Z")

</div>

Dear all, I’m using python netCDF4 to prepare CMAQ emission files, but the model couldn’t read. So I tried Matlab and I got the same error, too.Here is the error message: netCDF error number -49 processing file "GR…

---

## [Multi layer netcdf file to ioapi cmaq format help!](https://forum.cmascenter.org/t/multi-layer-netcdf-file-to-ioapi-cmaq-format-help/2777)

<div class="topic-metadata">

**Author:** [@john](https://forum.cmascenter.org/u/john)\
**Replies:** 4\
**Last updated:** [November 11, 2021, 2:56pm UTC](https://forum.cmascenter.org/t/multi-layer-netcdf-file-to-ioapi-cmaq-format-help/2777 "2021-11-11T14:56:53Z")

</div>

Hi Does anyone have a code or method to convert multi layer netcdf files to ioapi format for CMAQ? Thanks in advance Best wishes John

---

## [Error in IOAPI-3.2 coordinate transform routines](https://forum.cmascenter.org/t/error-in-ioapi-3-2-coordinate-transform-routines/2665)

<div class="topic-metadata">

**Author:** [@phy](https://forum.cmascenter.org/u/phy)\
**Replies:** 0\
**Last updated:** [September 24, 2021, 11:52am UTC](https://forum.cmascenter.org/t/error-in-ioapi-3-2-coordinate-transform-routines/2665 "2021-09-24T11:52:22Z")

</div>

Hi, I’m using IOAPI-3.2 to manipulate CMAQ results and other data. And I got an issue when I used coordinate transform routines ’ LAMBERT()’ I wanted to transform Transverse Mercator ™ coordinate to longitude-latitude…

---

## [How to get hourly average O3 from a month of hourly O3 CMAQ output?](https://forum.cmascenter.org/t/how-to-get-hourly-average-o3-from-a-month-of-hourly-o3-cmaq-output/2651)

<div class="topic-metadata">

**Author:** [@skunwar](https://forum.cmascenter.org/u/skunwar)\
**Replies:** 2\
**Last updated:** [September 13, 2021, 9:33pm UTC](https://forum.cmascenter.org/t/how-to-get-hourly-average-o3-from-a-month-of-hourly-o3-cmaq-output/2651 "2021-09-13T21:33:35Z")

</div>

I have combined the daily hour-resolution CCTM\_ACONC\* output file from CMAQ into one single file (still hour-resolution) for the month using COMBINE tool. Now, I would like to create average for the month but for each ho…

---

## [Add several netcdf files of the same dimension](https://forum.cmascenter.org/t/add-several-netcdf-files-of-the-same-dimension/2604)

<div class="topic-metadata">

**Author:** [@geek](https://forum.cmascenter.org/u/geek)\
**Replies:** 2\
**Last updated:** [August 20, 2021, 1:17pm UTC](https://forum.cmascenter.org/t/add-several-netcdf-files-of-the-same-dimension/2604 "2021-08-20T13:17:26Z")

</div>

Is there a tool in ioapi (m3tool) that can add multiple netcdf files of the same dimension? nc1(four dimensions,6 variables)+nc2(four dimensions,6 variables)+nc3(four dimensions,6 variables)=nc4（four dimensions,6 variab…

---

## [Concentration plot using AMET v1.4](https://forum.cmascenter.org/t/concentration-plot-using-amet-v1-4/2505)

<div class="topic-metadata">

**Author:** [@Iqbal](https://forum.cmascenter.org/u/Iqbal)\
**Replies:** 2\
**Last updated:** [August 9, 2021, 7:18pm UTC](https://forum.cmascenter.org/t/concentration-plot-using-amet-v1-4/2505 "2021-08-09T19:18:26Z")

</div>

Hello, I have modeling outputs (.avrg files) for the 2016 year which I converted to .nc files and the used COMBINE tool to get only one file for that year. How can I plot an average concentration plot (like the attache…

---

## [Error to compile IOAPI with flags netcdf-4 NETCDF](https://forum.cmascenter.org/t/error-to-compile-ioapi-with-flags-netcdf-4-netcdf/2521)

<div class="topic-metadata">

**Author:** [@manhnt\_vn](https://forum.cmascenter.org/u/manhnt_vn)\
**Replies:** 9\
**Last updated:** [July 23, 2021, 9:39am UTC](https://forum.cmascenter.org/t/error-to-compile-ioapi-with-flags-netcdf-4-netcdf/2521 "2021-07-23T09:39:30Z")

</div>

Hi everyone, I’m practicing to compile IOAI with flags netcdf-4 NETCDF. I have changed a little bit in the Makefile and Makeinclude.Linux2\_x86\_64ifort. To be more precise, in Makeinclude.Linux2\_x86\_64ifort, I add -DIOA…

[Previous page](https://forum.cmascenter.org/c/ioapi/5.md)

[Next page](https://forum.cmascenter.org/c/ioapi/5.md?page=2)
