# Plot errors with batch

**URL:** <https://forum.generic-mapping-tools.org/t/plot-errors-with-batch/1383>\
**Category:** Q&A\
**Created:** [February 25, 2021, 12:50am UTC](https://forum.generic-mapping-tools.org/t/plot-errors-with-batch/1383 "2021-02-25T00:50:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![PlanetGus](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/planetgus/32/303_2.png) [@PlanetGus](https://forum.generic-mapping-tools.org/u/PlanetGus)\
**Post date:** [February 25, 2021, 12:50am UTC](https://forum.generic-mapping-tools.org/t/plot-errors-with-batch/1383/1 "2021-02-25T00:50:00Z")

</div>

> gmt6.2dev / macOS

Does somebody else experience plot “anomalies” while using batch ?

I often got variation in the time-axis (y-direction) label format :

| Format wanted | Format plotted sometimes | Format rarely plotted |
| --- | --- | --- |
| J | YYYY-01-01 | January |
| F | YYYY-02-01 | February |
| M | YYYY-03-01 | March |
| … | … | … |

I also happen to have this kind of errors :

```auto
grdimage [WARNING]: No grid or image inside plot domain
grdimage [WARNING]: Your grid y's or latitudes appear to be outside the map region and will be skipped

```

Sometimes simply files errors :

```auto
plot [WARNING]: Mismatch between actual (2) and expected (3) fields near line 284 in file file.txt

```

And sometimes `gmt.conf` “unrecognized” options :

```auto
gmt [ERROR]: Unrecognized keyword black.
1 GMT Defaults conversion errors in file gmt.conf!

```

Running the same script again fixes it, sometimes on the first try, sometimes after 3 or 4 iterations.

?

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [February 25, 2021, 1:03am UTC](https://forum.generic-mapping-tools.org/t/plot-errors-with-batch/1383/2 "2021-02-25T01:03:57Z")

</div>

Please use -x to only use one core and see if that is stable. If not then I would be happy to try to recreate it on my Mac.

---

<div class="post-metadata">

**Author:** ![PlanetGus](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/planetgus/32/303_2.png) [@PlanetGus](https://forum.generic-mapping-tools.org/u/PlanetGus)\
**Post date:** [February 25, 2021, 2:23am UTC](https://forum.generic-mapping-tools.org/t/plot-errors-with-batch/1383/3 "2021-02-25T02:23:53Z")

</div>

I didn’t run the job until the end :

```auto
gmt [ERROR]: Unrecognized keyword =.
1 GMT Defaults conversion errors in file gmt.conf!

```

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [February 25, 2021, 2:45am UTC](https://forum.generic-mapping-tools.org/t/plot-errors-with-batch/1383/4 "2021-02-25T02:45:12Z")

</div>

And just checking you do not have a rogue bad gmt.conf in your home directory? if not, is it possible for you to zip up everything I need to recreate your batch job and give me access via the cloud or ftp?

---

<div class="post-metadata">

**Author:** ![PlanetGus](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/planetgus/32/303_2.png) [@PlanetGus](https://forum.generic-mapping-tools.org/u/PlanetGus)\
**Post date:** [February 25, 2021, 6:17am UTC](https://forum.generic-mapping-tools.org/t/plot-errors-with-batch/1383/5 "2021-02-25T06:17:10Z")

</div>

Nothing on home (`~/`)  
But I still copy/paste gmt.conf from upper-level to working directory (see closed [issue 4779](https://github.com/GenericMappingTools/gmt/issues/4779)), otherwise it doesn’t work

```auto
# in include.sh : 
> call of a bash function with "gmtset" commands

# in main.sh : 
cp ../gmt.conf ./ 

```

> [@pwessel](#):
>
> is it possible for you to zip up everything

I’ll ask tomorrow just in case, I genuinely don’t know what is the policy for what I’m doing.  
Thanks

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [March 1, 2021, 6:59am UTC](https://forum.generic-mapping-tools.org/t/plot-errors-with-batch/1383/6 "2021-03-01T06:59:40Z")

</div>

We fixed a bunch of issues related to Win executables, now in master.

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [March 1, 2021, 6:59am UTC](https://forum.generic-mapping-tools.org/t/plot-errors-with-batch/1383/7 "2021-03-01T06:59:59Z")

</div>

But this is probably something else.
