@@ -477,9 +477,7 @@ class TestPolyconic:
477
477
Tests for the Polyconic projection.
478
478
"""
479
479
480
- prj1 = projection .Polyconic (
481
- central_longitude = 145 , central_latitude = - 35 , width = 12
482
- )
480
+ prj1 = projection .Polyconic (central_longitude = 145 , central_latitude = - 35 , width = 12 )
483
481
prj2 = projection .Polyconic (width = 12 )
484
482
485
483
def test_default_unit (self ):
@@ -525,10 +523,18 @@ class TestObliqueMercator1:
525
523
central_longitude = 145 , central_latitude = - 35 , azimuth = 45 , width = 12
526
524
)
527
525
prj2 = projection .ObliqueMercator1 (
528
- central_longitude = 145 , central_latitude = - 35 , azimuth = 45 , allow_southern_hemisphere = True , width = 12
526
+ central_longitude = 145 ,
527
+ central_latitude = - 35 ,
528
+ azimuth = 45 ,
529
+ allow_southern_hemisphere = True ,
530
+ width = 12 ,
529
531
)
530
532
prj3 = projection .ObliqueMercator1 (
531
- central_longitude = 145 , central_latitude = - 35 , azimuth = 45 , align_yaxis = True , width = 12
533
+ central_longitude = 145 ,
534
+ central_latitude = - 35 ,
535
+ azimuth = 45 ,
536
+ align_yaxis = True ,
537
+ width = 12 ,
532
538
)
533
539
534
540
def test_default_unit (self ):
@@ -554,13 +560,27 @@ class TestObliqueMercator2:
554
560
"""
555
561
556
562
prj1 = projection .ObliqueMercator2 (
557
- central_longitude = 145 , central_latitude = - 35 , oblique_longitude = 110 , oblique_latitude = - 20 , width = 12
563
+ central_longitude = 145 ,
564
+ central_latitude = - 35 ,
565
+ oblique_longitude = 110 ,
566
+ oblique_latitude = - 20 ,
567
+ width = 12 ,
558
568
)
559
569
prj2 = projection .ObliqueMercator2 (
560
- central_longitude = 145 , central_latitude = - 35 , oblique_longitude = 110 , oblique_latitude = - 20 , allow_southern_hemisphere = True , width = 12
570
+ central_longitude = 145 ,
571
+ central_latitude = - 35 ,
572
+ oblique_longitude = 110 ,
573
+ oblique_latitude = - 20 ,
574
+ allow_southern_hemisphere = True ,
575
+ width = 12 ,
561
576
)
562
577
prj3 = projection .ObliqueMercator2 (
563
- central_longitude = 145 , central_latitude = - 35 , oblique_longitude = 110 , oblique_latitude = - 20 , align_yaxis = True , width = 12
578
+ central_longitude = 145 ,
579
+ central_latitude = - 35 ,
580
+ oblique_longitude = 110 ,
581
+ oblique_latitude = - 20 ,
582
+ align_yaxis = True ,
583
+ width = 12 ,
564
584
)
565
585
566
586
def test_default_unit (self ):
@@ -586,13 +606,27 @@ class TestObliqueMercator3:
586
606
"""
587
607
588
608
prj1 = projection .ObliqueMercator3 (
589
- central_longitude = 145 , central_latitude = - 35 , pole_longitude = 110 , pole_latitude = - 20 , width = 12
609
+ central_longitude = 145 ,
610
+ central_latitude = - 35 ,
611
+ pole_longitude = 110 ,
612
+ pole_latitude = - 20 ,
613
+ width = 12 ,
590
614
)
591
615
prj2 = projection .ObliqueMercator3 (
592
- central_longitude = 145 , central_latitude = - 35 , pole_longitude = 110 , pole_latitude = - 20 , allow_southern_hemisphere = True , width = 12
616
+ central_longitude = 145 ,
617
+ central_latitude = - 35 ,
618
+ pole_longitude = 110 ,
619
+ pole_latitude = - 20 ,
620
+ allow_southern_hemisphere = True ,
621
+ width = 12 ,
593
622
)
594
623
prj3 = projection .ObliqueMercator3 (
595
- central_longitude = 145 , central_latitude = - 35 , pole_longitude = 110 , pole_latitude = - 20 , align_yaxis = True , width = 12
624
+ central_longitude = 145 ,
625
+ central_latitude = - 35 ,
626
+ pole_longitude = 110 ,
627
+ pole_latitude = - 20 ,
628
+ align_yaxis = True ,
629
+ width = 12 ,
596
630
)
597
631
598
632
def test_default_unit (self ):
@@ -663,7 +697,9 @@ class TestEquidistantCylindrical:
663
697
664
698
prj1 = projection .EquidistantCylindrical (width = 12 )
665
699
prj2 = projection .EquidistantCylindrical (central_longitude = 145 , width = 12 )
666
- prj3 = projection .EquidistantCylindrical (central_longitude = 145 , central_latitude = - 35 , width = 12 )
700
+ prj3 = projection .EquidistantCylindrical (
701
+ central_longitude = 145 , central_latitude = - 35 , width = 12
702
+ )
667
703
668
704
def test_default_unit (self ):
669
705
"Test the default value for the figure units"
0 commit comments